bap_read()/bap_write() work with fixed-endian buffers