correcting the endianness of bytes read for missed frames