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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)
	{