(str: string)
| 110 | } |
| 111 | |
| 112 | writeString(str: string): void { |
| 113 | const encoded = this.encoder.encode(str); |
| 114 | this.writeRaw(encoded); |
| 115 | } |
| 116 | |
| 117 | writeRaw(data: Uint8Array): void { |
| 118 | const buf = new Uint8Array(this.memory.buffer, this.writeBufferPtr, 8192); |
no test coverage detected