IProtoConverter
Description
Base interface for classes that convert between atomic values and the Protocol Buffers wire format.
Public / Methods
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.
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 a single message record (see IProtonizer.WriteRecord), using the field number.
- IOException
-
If an I/O error has occurred.