Interface MessageBuffer<B,​MB extends MessageBuffer>

  • All Superinterfaces:
    PBMessage<B,​MB>

    public interface MessageBuffer<B,​MB extends MessageBuffer>
    extends PBMessage<B,​MB>
    • Method Detail

      • serializedSizeUnframed

        int serializedSizeUnframed()
      • serializedSizeFramed

        int serializedSizeFramed()
      • toUnframedBuffer

        Buffer toUnframedBuffer()
      • toFramedBuffer

        Buffer toFramedBuffer()
      • toUnframedByteArray

        byte[] toUnframedByteArray()
      • toFramedByteArray

        byte[] toFramedByteArray()
      • writeUnframed

        void writeUnframed​(CodedOutputStream output)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • writeFramed

        void writeFramed​(CodedOutputStream output)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • writeUnframed

        void writeUnframed​(java.io.OutputStream output)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • writeFramed

        void writeFramed​(java.io.OutputStream output)
                  throws java.io.IOException
        Throws:
        java.io.IOException