Fixed to use same type ByteBuffer.
Throughput test redesigned.
Cosmetic fix.