read(size) {
    const state = this.#state;
    this.assertCanRead(size);
    const result = this.peek(size);
    state.index += size;
    return result;
  }
Get raw data without conversion, <size> bytes.

@param {number} size the number of bytes to read.
@returns {Uint8Array} the raw data.