(string: string, offset: number)
| 71 | } |
| 72 | |
| 73 | private latin1Write(string: string, offset: number) { |
| 74 | let index = 0; |
| 75 | for (; index < string.length; index++) { |
| 76 | this[offset++] = string.charCodeAt(index); |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | private utf8Write(string: string, offset: number) { |
| 81 | utf8Encoder.encodeInto(string, this.subarray(offset)); |