Class GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>.ExtensionWriter (3.19.4)

protected class GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>.ExtensionWriter

Used by subclasses to serialize extensions. Extension ranges may be interleaved with field numbers, but we must write them in canonical (sorted by field number) order. ExtensionWriter helps us write individual ranges of extensions at once.

Inheritance

java.lang.Object > GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>.ExtensionWriter

Methods

writeUntil(int end, CodedOutputStream output)

public void writeUntil(int end, CodedOutputStream output)
Parameters
Name Description
end int
output CodedOutputStream
Exceptions
Type Description
IOException