(capacity: number = 4096)
| 40 | private stringEncoder = new TextEncoder(); |
| 41 | |
| 42 | constructor(capacity: number = 4096) { |
| 43 | this.buffer = new Uint8Array(capacity); |
| 44 | this.view = new DataView(this.buffer.buffer); |
| 45 | } |
| 46 | |
| 47 | writeU8(value: number): void { |
| 48 | if (this.cursor + 1 > this.buffer.length) this.expand(); |
nothing calls this directly
no outgoing calls
no test coverage detected