Class MicroEJMessageLite.ExtensionWriter

  • Enclosing class:
    MicroEJMessageLite

    protected class MicroEJMessageLite.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.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ExtensionWriter()  
    • Constructor Detail

      • ExtensionWriter

        protected ExtensionWriter()
    • Method Detail

      • writeUntil

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