function reader(bytes) {
  return { view: new DataView(new Uint8Array(bytes).buffer), offset: 0 }
}
Make a DataReader from bytes

@import {DataReader} from '../src/types.d.ts'
@param {number[]} bytes
@returns {DataReader}