Streaming UTF-8 encoding

Constructors

Methods

Properties

Constructors

Methods

  • Pushes a chunk to be encoded to UTF-8

    Parameters

    • chunk: string

      The string data to push

    • Optionalfinal: boolean

      Whether this is the last chunk

    Returns void

Properties

The handler to call whenever data is available