slice method

JByteBuffer slice()

Creates a new byte buffer whose content is a shared subsequence of this buffer's content.

Implementation

JByteBuffer slice() {
  return _sliceId(this, const JByteBufferType(), []);
}