Discard unknown fields for the given message.
Retrieve the unknown fields for the given message.
Unknown fields are well-formed protocol buffer serialized data for fields that the parserdoes not recognize.
For more details see https://developers.google.com/protocol-buffers/docs/proto3#unknowns
Provide options for parsing binary data.
Optional
options: Partial<BinaryReadOptions>Provide options for serializing binary data.
Optional
options: Partial<BinaryWriteOptions>Store an unknown field for the given message. The parser will use this
method if it does not recognize a field, unless the option
readUnknownFields
has been disabled.
Parse a message from binary data, merging fields.
Serialize a message to binary data.
Retrieve the unknown fields for the given message and write them to the given writer. This method is called when a message is serialized, so the fields that are unknown to the parser persist through a round trip.
Generated using TypeDoc
BinaryFormat is the contract for serializing messages to and from binary data. Implementations may be specific to a proto syntax, and can be reflection based, or delegate to speed optimized generated code.