Pluggable Protobuf codec interface.
Wraps a Protobuf library (e.g. protobufjs) to provide schema parsing. The codec parses the proto schema string and returns a ProtobufSchema bound to a specific message type.
protobufjs
Readonly
Parse a proto schema and bind to a specific message type.
Proto schema definition string.
Fully-qualified message type name to encode/decode.
Parsed schema with encode/decode methods and message indexes.
Pluggable Protobuf codec interface.
Wraps a Protobuf library (e.g.
protobufjs) to provide schema parsing. The codec parses the proto schema string and returns a ProtobufSchema bound to a specific message type.