bm_read_bytes and bm_write_bytes implemented