Skip to content
Snippets Groups Projects
Commit 378ffd6a authored by Andrea Bulgarelli's avatar Andrea Bulgarelli
Browse files

Merge branch 'master' of https://github.com/ASTRO-BO/PacketLib

parents 989b16f2 1c6088fa
No related branches found
No related tags found
No related merge requests found
......@@ -494,6 +494,8 @@ ByteStreamPtr PacketLib::ByteStream::getUnpaddedCopy(dword chunkSize, dword padS
}
void PacketLib::ByteStream::swapWord() {
bigendian = !bigendian;
dword dim = byteInTheStream;
for(dword i = 0; i< dim; i+=2)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment