leb128-frame

Protocol stream message framing/deframing using LEB128 encoded length headers

npm install leb128-frame
2 downloads in the last week
4 downloads in the last month

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.

npm loves you