Class DataOutputBuffer

    • Constructor Detail

      • DataOutputBuffer

        public DataOutputBuffer()
        Constructs a new empty buffer.
      • DataOutputBuffer

        public DataOutputBuffer​(int size)
    • Method Detail

      • getData

        public byte[] getData()
        Returns the current contents of the buffer. Data is only valid to getLength().
      • getLength

        public int getLength()
        Returns the length of the valid data currently in the buffer.