Endo
    Preparing search index...
    • Create a writer stream which wraps messages into the syrup encoding and writes them to an output writer stream.

      This transform can be zero-copy, if the output stream supports consecutive writes without waiting. In that case the by-default-off chunked mode can be enabled.

      Accepts the message as an array of buffers in case the producer would like to avoid pre-concatenating them.

      Parameters

      • output: Writer<Uint8Array<ArrayBufferLike>, undefined>
      • opts: { chunked?: boolean } = {}

      Returns Writer<Uint8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike>[], undefined>