( input: Uint8Array, output: Uint8Array, offset: number, )
| 178 | } |
| 179 | |
| 180 | function encodeUint8Array( |
| 181 | input: Uint8Array, |
| 182 | output: Uint8Array, |
| 183 | offset: number, |
| 184 | ): number { |
| 185 | offset = encodeHeader(0b010_00000, input.length, output, offset); |
| 186 | output.set(input, offset); |
| 187 | return offset + input.length; |
| 188 | } |
| 189 | |
| 190 | function encodeString( |
| 191 | input: string, |
no test coverage detected