Class ByteAccumulator


  • public class ByteAccumulator
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ByteAccumulator​(int maxOverallBufferSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void copyChunk​(byte[] buf, int offset, int length)  
      int getLength()  
      void transferTo​(java.nio.ByteBuffer buffer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ByteAccumulator

        public ByteAccumulator​(int maxOverallBufferSize)
    • Method Detail

      • copyChunk

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

        public int getLength()
      • transferTo

        public void transferTo​(java.nio.ByteBuffer buffer)