Class ByteBufferInputStream

    • Constructor Detail

      • ByteBufferInputStream

        public ByteBufferInputStream()
        Creates an uninitialized stream that cannot be used until setByteBuffer(ByteBuffer) is called.
      • ByteBufferInputStream

        public ByteBufferInputStream​(int bufferSize)
        Creates a stream with a new non-direct buffer of the specified size. The position and limit of the buffer is zero.
      • ByteBufferInputStream

        public ByteBufferInputStream​(ByteBuffer byteBuffer)