Adaptation stream-lib library (ByteBuffer)