mllp-stream

1.0.0 • Public • Published

Minimal Lower Layer Protocol (MLLP) framing streams

Streams for encoding and decoding MLLP messages.

MLLPStream([options])

Returns an object with encoder and decoder streams initialised with the provided options.

Example:

var MLLPStream = require('mllp-stream');
 
var stream = MLLPStream({encoding: 'utf8'});
 
stream.encoder.pipe(stream.decoder).pipe(process.stdout);
 
stream.encoder.write('Test');

new MLLPStream.Decoder([options])

Create an MLLP decoder stream passing the options to the underlying transform stream.

new MLLPStream.Encoder([options])

Create an MLLP encoder stream passing the options to the underlying transform stream.

/mllp-stream/

    Package Sidebar

    Install

    npm i mllp-stream

    Weekly Downloads

    2

    Version

    1.0.0

    License

    none

    Last publish

    Collaborators

    • bausmeier