Skip to content

Releases: particle-iot/device-os-protobuf

Introduce simpler APIs for encoding/decoding

21 Jan 00:07
Compare
Choose a tag to compare

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