createLineEncoder
createLineEncoder(
encoding,options?):Encoder<string>
Defined in: packages/format-core/src/codecs/line-encoder.ts:17
Creates the write half of CRLF line framing: each value is emitted with a
\r\n terminator.
A factory rather than a class because nothing here changes after construction — unlike LineDecoder, which carries a scan position across partial lines.
Parameters
Section titled “Parameters”encoding
Section titled “encoding”TextEncodingName
options?
Section titled “options?”Returns
Section titled “Returns”Encoder<string>