- computeBoolSize
Compute the number of bytes that would be needed to encode a boolfield,
including tag.
- computeBytesSize
Compute the number of bytes that would be needed to encode a bytes field,
including tag.
- computeEnumSize
Compute the number of bytes that would be needed to encode an enum field,
including tag. Caller is r
- computeInt32Size
Compute the number of bytes that would be needed to encode an int32 field,
including tag.
- computeInt64Size
Compute the number of bytes that would be needed to encode an int64 field,
including tag.
- computeStringSize
Compute the number of bytes that would be needed to encode a string field,
including tag.
- writeBool
Write a bool field, including tag, to the stream.
- writeBytes
Write a bytes field, including tag, to the stream.
- writeEnum
Write an enum field, including tag, to the stream. Caller is responsible for
converting the enum val
- writeInt32
Write an int32 field, including tag, to the stream.
- writeInt64
Write an int64 field, including tag, to the stream.
- writeString
Write a string field, including tag, to the stream.