leb128-frame

0.1.0 • Public • Published

leb128-frame

Protocol stream message framing/deframing using LEB128 encoded length headers.

Used as a min-stream-push-filter that can frame and deframe protocol streams.

framer(emit) -> emit

deframer(emit) -> emit

See test.js for usage examples.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    1

Package Sidebar

Install

npm i leb128-frame

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • creationix