return ReadOnlyDirectByteBuffer.copy(this, mark);
}
public ByteBuffer compact() {
PlatformAddress effectiveAddress = getEffectiveAddress();
effectiveAddress.offsetBytes(position).moveTo(effectiveAddress,
remaining());
position = limit - position;
limit = capacity;
mark = UNSET_MARK;
return this;