it-protocol-buffers
Protocol Buffers length-prefixed async-iterator encoder/decoder
Last updated 6 years ago by mkg20001 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install it-protocol-buffers 
SYNC missed versions from official npm registry.

it-protocol-buffers

Greenkeeper badge

Build Status codecov

Protocol Buffers length-prefixed async-iterator encoder/decoder

API

  • ppb.encode(proto)

    Encodes messages that come in

    proto: The Protocol buffers message

    returns: An async-iterator length-prefixed duplex

  • ppb.decode(proto)

    Decodes protocol-buffers that come in

    proto: The Protocol buffers message

    returns: An async-iterator length-prefixed duplex

  • .it

    The same api as above just without length-prefixing.

    Not network safe. Useful for encoding/decoding single messages.

Current Tags

  • 0.2.1                                ...           latest (6 years ago)

2 Versions

  • 0.2.1                                ...           6 years ago
  • 0.2.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (6)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |