Google.Protobuf.MessageExtensions
Extension methods on IMessage and IMessage<T>.
Checks if all required fields in a message have values set. For proto3 messages, this returns true.
Merges length-delimited data from the given stream into an existing message.
Merges data from the given byte array into an existing message.
Merges data from the given byte array slice into an existing message.
Merges data from the given byte string into an existing message.
Merges data from the given stream into an existing message.
Merges data from the given span into an existing message.
Merges data from the given sequence into an existing message.
Converts the given message into a byte array in protobuf encoding.
Converts the given message into a byte string in protobuf encoding.
Writes the length and then data of the given message to a stream.
Writes the length and then data of the given message to a buffer writer.
Writes the given message data to the given stream in protobuf encoding.
Writes the given message data to the given buffer writer in protobuf encoding.
Writes the given message data to the given span in protobuf encoding.
The size of the destination span needs to fit the serialized size
of the message exactly, otherwise an exception is thrown.