Google.Protobuf.FieldCodec<T>
An encode/decode pair for a single field. This effectively encapsulates all the information needed to read or write the field value from/to a coded stream.
This class is public and has to be as it is used by generated code, but its public API is very limited - just what the generated code needs to call directly.
Calculates the size required to write the given value, with a tag,
if the value is not the default.
Reads a value of the codec type from the given CodedInputStream.
Reads a value of the codec type from the given ParseContext.
Write a tag and the given value, *if* the value is not the default.
Write a tag and the given value, *if* the value is not the default.