ByteBuffer example.