Class EncodeUTF8
Index
Constructors
constructor
Creates a UTF-8 decoding stream
Parameters
Optionalcb: FlateStreamHandlerThe callback to call whenever data is encoded
Returns EncodeUTF8
Methods
push
Pushes a chunk to be encoded to UTF-8
Parameters
- chunk: string
The string data to push
Optionalfinal: booleanWhether this is the last chunk
Returns void
- chunk: string
Streaming UTF-8 encoding