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;}

public override java.nio.LongBuffer slice(){byteBuffer.limit(_limit * libcore.io.SizeOf.LONG);byteBuffer.position(_position * libcore.io.SizeOf.LONG);java.nio.ByteBuffer bb = byteBuffer.slice().order(byteBuffer.order());java.nio.LongBuffer result = new java.nio.LongToByteBufferAdapter(bb);byteBuffer.clear();return result;}
