IProtoConverter
Description
Base interface for classes that convert between atomic values and the Protocol Buffers wire format.
Public / Methods
ProtoReadChecked
Reads a value from the given Protocol Buffers wire format stream.
The calling code is aware of the message type and calls this method on the message record (see IProtonizer.ReadRecord) that fully contains the encoded value.
- IOException
-
If an I/O error has occurred.
- See also
ProtoWrite
Writes the given value to a Protocol Buffers wire format stream.
The calling code is aware of the message type and thus chooses the field number. This method is responsible for writing the content of a single message record.
- IOException
-
If an I/O error has occurred.
Extensions
ProtoRead
Reads a value from the given Protocol Buffers wire format stream.
The calling code is aware of the message type and calls this method on the message record (see IProtonizer.ReadRecord) that fully contains the encoded value.
- IOException
-
If an I/O error has occurred.
- See also