public CharBuffer slice() {byteBuffer.limit(limit * SizeOf.CHAR);byteBuffer.position(position * SizeOf.CHAR);ByteBuffer bb = byteBuffer.slice().order(byteBuffer.order());CharBuffer result = new CharToByteBufferAdapter(bb);byteBuffer.clear();return result;}

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