(buffer: Uint8Array, cursor: number)
| 23 | return String.fromCharCode(buffer[cursor]); |
| 24 | }; |
| 25 | const read2 = (buffer: Uint8Array, cursor: number) => { |
| 26 | return String.fromCharCode(buffer[cursor], buffer[cursor + 1]); |
| 27 | }; |
| 28 | const read3 = (buffer: Uint8Array, cursor: number) => { |
| 29 | return String.fromCharCode(buffer[cursor], buffer[cursor + 1], buffer[cursor + 2]); |
| 30 | }; |