Skip to content

Introduce simpler APIs for encoding/decoding

Latest
Compare
Choose a tag to compare
@joegoggins joegoggins released this 21 Jan 00:07
· 139 commits to main since this release

What's Changed

Introduces main public API methods for this module:

  • encode(protobufMessageName, {data: "foo"})
  • decode(protobufMessageName, buffer)
  • getDefinition(protobufMessageName)
  • getDefinitions() / getNamespaces()

More details in #10