asReadOnlyBuffer method
Creates a new, read-only byte buffer that shares this buffer's content.
Implementation
JByteBuffer asReadOnlyBuffer() {
return _asReadOnlyBufferId(this, const JByteBufferType(), []);
}
Creates a new, read-only byte buffer that shares this buffer's content.
JByteBuffer asReadOnlyBuffer() {
return _asReadOnlyBufferId(this, const JByteBufferType(), []);
}