text: public LongBuffer slice() {byteBuffer.limit(limit * SizeOf.LONG);byteBuffer.position(position * SizeOf.LONG);ByteBuffer bb = byteBuffer.slice().order(byteBuffer.order());LongBuffer result = new LongToByteBufferAdapter(bb);byteBuffer.clear();return result;}