zeromq-frame-parser
v1.1.2
Published
ZMTP (ZeroMQ Message Transport Protocol) frame parser
Downloads
18
Maintainers
Readme
zeromq-frame-parser
Parse ZMTP (ZeroMQ Message Transport Protocol) frames.
Installation
npm install zeromq-frame-parser
API
What it says on the tin.
parse(buffer) -> array of buffers
Parses a single set of frames, and returns an array of their bodies.
parse.frame(buffer) -> { body: Buffer, more: Boolean }
Parses a single frame.
Extras
The binary-parse-fn style parsers are exposed as zeromq-frame-parser/parser
.
They are exposed under the same names as the parse functions.
This is considered public API.