public interface IMessage
Interface for a Protocol Buffers message, supporting basic operations required for serialization.
Namespace
Google.ProtobufAssembly
Google.Protobuf.dll
Properties
Descriptor
MessageDescriptor Descriptor { get; }
Descriptor for this message. All instances are expected to return the same descriptor, and for generated types this will be an explicitly-implemented member, returning the same value as the static property declared on the type.
Methods
CalculateSize()
int CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
The number of bytes required to write this message to a coded output stream.
MergeFrom(CodedInputStream)
void MergeFrom(CodedInputStream input)
Merges the data from the specified coded input stream with the current message.
See the user guide for precise merge semantics.
WriteTo(CodedOutputStream)
void WriteTo(CodedOutputStream output)
Writes the data to the given coded output stream.
output

