public static interface NioArrayImpl.BufferGetter
Buffer
. Can be used to provide access to a buffer
which will only be created on demand; if it is never required it
will never be created.Modifier and Type | Method and Description |
---|---|
Buffer |
getBuffer()
Returns an NIO buffer.
|
boolean |
isReadOnly()
Indicates whether the buffer, when created, will be read-only
or not.
|
void |
releaseBuffer()
Releases the NIO buffer.
|
boolean isReadOnly()
Buffer getBuffer() throws IOException
IOException
- if something goes wrongvoid releaseBuffer() throws IOException
IOException
- if something goes wrongCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.