Skip to content

Protocol Buffers length-prefixed async-iterator encoder/decoder

Notifications You must be signed in to change notification settings

mkg20001/it-protocol-buffers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Protocol Buffers length-prefixed async-iterator encoder/decoder

Resources

Stars

Watchers

Forks

Packages

No packages published