Class ByteAccumulator

    • Constructor Detail

      • ByteAccumulator

        public ByteAccumulator​(int maxOverallBufferSize)
        Deprecated.
      • ByteAccumulator

        public ByteAccumulator​(int maxOverallBufferSize,
                               ByteBufferPool byteBufferPool)
        Deprecated.
    • Method Detail

      • getLength

        public int getLength()
        Deprecated.
      • ensureBuffer

        public ByteBuffer ensureBuffer​(int minAllocationSize)
        Deprecated.
      • addLength

        public void addLength​(int read)
        Deprecated.
      • copyChunk

        public void copyChunk​(byte[] buf,
                              int offset,
                              int length)
        Deprecated.
      • copyChunk

        public void copyChunk​(ByteBuffer buffer)
        Deprecated.
      • transferTo

        public void transferTo​(ByteBuffer buffer)
        Deprecated.
      • close

        public void close()
        Deprecated.
        Specified by:
        close in interface AutoCloseable