com.google.protobuf
Class GeneratedMessage.ExtendableMessage.ExtensionWriter

java.lang.Object
  extended by com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWriter
Enclosing class:
GeneratedMessage.ExtendableMessage<MessageType extends GeneratedMessage.ExtendableMessage>

protected class GeneratedMessage.ExtendableMessage.ExtensionWriter
extends java.lang.Object

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.


Method Summary
 void writeUntil(int end, CodedOutputStream output)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeUntil

public void writeUntil(int end,
                       CodedOutputStream output)
                throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2008-2011 Google. All Rights Reserved.