fix endianess of read byte buffers