|
GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java (public API).
|
Specific byte stream.
More...
Public Member Functions | |
| ByteBufferStream (final ByteBuffer stream) | |
| void | setStream (final ByteBuffer stream) |
| ByteBuffer | getStream () |
| void | close () |
| void | flush () |
| boolean | canInput () |
| boolean | canOutput () |
| long | position () |
| long | position (final long newPosition) throws UnsupportedOperationException, IllegalArgumentException |
| long | skip (final long n) |
| void | mark (final int readLimit) |
| void | reset () throws IllegalStateException |
| int | read () |
| int | write (final byte val) |
Public Member Functions inherited from com.jogamp.common.util.Bitstream< T >.ByteStream< ByteBuffer > | |
| void | setStream (final T stream) |
Sets the underlying stream, without close()ing the previous one. More... | |
| T | getStream () |
| Returns the underlying stream. More... | |
| void | close () throws IOException |
Closing the underlying stream, implies flush(). More... | |
| void | flush () throws IOException |
Synchronizes all underlying output stream operations, or do nothing. More... | |
| boolean | canInput () |
| Return true if stream can handle input, i.e. More... | |
| boolean | canOutput () |
| Return true if stream can handle output, i.e. More... | |
| long | position () |
| Returns the byte position in the stream. More... | |
| long | position (long newPosition) throws UnsupportedOperationException, IllegalArgumentException |
| Sets this stream's position. More... | |
| long | skip (final long n) throws IOException |
| It is implementation dependent, whether backward skip giving a negative number is supported or not. More... | |
| void | mark (final int readLimit) throws UnsupportedOperationException |
Set markpos to current position, allowing the stream to be reset(). More... | |
| void | reset () throws UnsupportedOperationException, IllegalStateException, IOException |
Reset stream position to markpos as set via mark(int). More... | |
| int | read () throws UnsupportedOperationException, IOException |
| Reads one byte from the stream. More... | |
| int | write (final byte val) throws UnsupportedOperationException, IOException |
| Writes one byte, to the stream. More... | |
Specific byte stream.
Can handle input and output operations.
Definition at line 292 of file Bitstream.java.
| com.jogamp.common.util.Bitstream< T >.ByteBufferStream.ByteBufferStream | ( | final ByteBuffer | stream | ) |
| boolean com.jogamp.common.util.Bitstream< T >.ByteBufferStream.canInput | ( | ) |
Definition at line 321 of file Bitstream.java.
| boolean com.jogamp.common.util.Bitstream< T >.ByteBufferStream.canOutput | ( | ) |
Definition at line 324 of file Bitstream.java.
| void com.jogamp.common.util.Bitstream< T >.ByteBufferStream.close | ( | ) |
Definition at line 312 of file Bitstream.java.
| void com.jogamp.common.util.Bitstream< T >.ByteBufferStream.flush | ( | ) |
Definition at line 316 of file Bitstream.java.
| ByteBuffer com.jogamp.common.util.Bitstream< T >.ByteBufferStream.getStream | ( | ) |
Definition at line 309 of file Bitstream.java.
| void com.jogamp.common.util.Bitstream< T >.ByteBufferStream.mark | ( | final int | readLimit | ) |
Definition at line 357 of file Bitstream.java.
| long com.jogamp.common.util.Bitstream< T >.ByteBufferStream.position | ( | ) |
Definition at line 327 of file Bitstream.java.
| long com.jogamp.common.util.Bitstream< T >.ByteBufferStream.position | ( | final long | newPosition | ) | throws UnsupportedOperationException, IllegalArgumentException |
Definition at line 330 of file Bitstream.java.
| int com.jogamp.common.util.Bitstream< T >.ByteBufferStream.read | ( | ) |
| void com.jogamp.common.util.Bitstream< T >.ByteBufferStream.reset | ( | ) | throws IllegalStateException |
Definition at line 362 of file Bitstream.java.
| void com.jogamp.common.util.Bitstream< T >.ByteBufferStream.setStream | ( | final ByteBuffer | stream | ) |
Definition at line 302 of file Bitstream.java.
| long com.jogamp.common.util.Bitstream< T >.ByteBufferStream.skip | ( | final long | n | ) |
| int com.jogamp.common.util.Bitstream< T >.ByteBufferStream.write | ( | final byte | val | ) |