Streaming UTF-8 decoding
+ new DecodeUTF8(cb?: StringStreamHandler): DecodeUTF8
Creates a UTF-8 decoding stream
| Name | Type | Description | 
|---|---|---|
| cb? | StringStreamHandler | The callback to call whenever data is decoded | 
Returns: DecodeUTF8
• ondata: StringStreamHandler
The handler to call whenever data is available
▸ push(chunk: Uint8Array, final?: boolean): void
Pushes a chunk to be decoded from UTF-8 binary
| Name | Type | Description | 
|---|---|---|
| chunk | Uint8Array | The chunk to push | 
| final? | boolean | Whether this is the last chunk | 
Returns: void