Class GeneratedMessage.ExtendableMessage<MessageType>.ExtensionWriter (3.19.4)

protected class GeneratedMessage.ExtendableMessage<MessageType>.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 > GeneratedMessage.ExtendableMessage<MessageType>.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