public class CloseableByteBuffer extends Object implements Closeable
ByteBuffer that implements the Closeable interface, releasing the
ByteBuffer when it is no longer needed.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Release the wrapped
ByteBuffer. |
ByteBuffer |
getByteBuffer() |
public ByteBuffer getByteBuffer()
ByteBuffer.public void close()
throws IOException
ByteBuffer.close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2024. All rights reserved.