bytes(options = {
    copy: true,
  }) {
    if (options.copy === false) return this.#buf.subarray(this.#off);
    return this.#buf.slice(this.#off);
  }
/** Returns a slice holding the unread portion of the buffer.
   *
   * The slice is valid for use only until the next buffer modification (that
   * is, only until the next call to a method like `read()`, `write()`,
   * `reset()`, or `truncate()`). If `options.copy` is false the slice aliases the buffer content at
   * least until the next buffer modification, so immediate changes to the
   * slice will affect the result of future reads.
   * @param options Defaults to `{ copy: true }`
   */
Returns a slice holding the unread portion of the buffer.
Returns a slice holding the unread portion of the buffer .
bytes(options = {
    copy: true,
  }) {
    if (options.copy === false) return this.#buf.subarray(this.#off);
    return this.#buf.slice(this.#off);
  }
bytes ( options = { copy : true , } ) { if ( options . copy === false ) return this . #buf . subarray ( this . #off ) ; return this . #buf . slice ( this . #off ) ; }
Returns a slice holding the unread portion of the buffer.
Returns a slice holding the unread portion of the buffer .