Class ElementOutputStream

    • Constructor Detail

      • ElementOutputStream

        public ElementOutputStream()
    • Method Detail

      • resizeBuffer

        public void resizeBuffer​(int i)
        The read data of the buffer is removed and rest is assigned. For example if i=100 & this.buf.length=120 then copy byte 101 to 120 and assign to this.buf So the first 100 bytes are removed from this.buf
        Parameters:
        i - Position up to which the buffer had been read