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.
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
chunkedmode can be enabled.Accepts the message as an array of buffers in case the producer would like to avoid pre-concatenating them.