Class GeneratedMessage.ExtendableMessage<MessageType>.ExtensionWriter

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
NameDescription
endint
outputCodedOutputStream
Exceptions
TypeDescription
IOException