(length: number)
| 67 | } |
| 68 | |
| 69 | public bytes(length: number): Uint8Array { |
| 70 | // const result = this.buffer.slice(this.#offset, this.#offset + length) |
| 71 | const result = this.#bufferView.buffer.slice( |
| 72 | this.#offset, |
| 73 | this.#offset + length, |
| 74 | ) |
| 75 | this.#offset += length |
| 76 | return new Uint8Array(result) |
| 77 | } |
| 78 | } |
no outgoing calls
no test coverage detected