|
GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java (public API).
|
Specific byte stream.
More...
Public Member Functions | |
| ByteInputStream (final InputStream stream) | |
| void | setStream (final InputStream stream) |
| InputStream | getStream () |
| void | close () throws IOException |
| void | flush () |
| boolean | canInput () |
| boolean | canOutput () |
| long | position () |
| long | position (final long newPosition) throws UnsupportedOperationException, IllegalArgumentException |
| long | skip (final long n) throws IOException |
| void | mark (final int readLimit) |
| void | reset () throws IllegalStateException, IOException |
| int | read () throws IOException |
| int | write (final byte val) throws UnsupportedOperationException |
Public Member Functions inherited from com.jogamp.common.util.Bitstream< T >.ByteStream< InputStream > | |
| 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 operations only.
Definition at line 415 of file Bitstream.java.
| com.jogamp.common.util.Bitstream< T >.ByteInputStream.ByteInputStream | ( | final InputStream | stream | ) |
| boolean com.jogamp.common.util.Bitstream< T >.ByteInputStream.canInput | ( | ) |
Definition at line 453 of file Bitstream.java.
| boolean com.jogamp.common.util.Bitstream< T >.ByteInputStream.canOutput | ( | ) |
Definition at line 456 of file Bitstream.java.
| void com.jogamp.common.util.Bitstream< T >.ByteInputStream.close | ( | ) | throws IOException |
Definition at line 441 of file Bitstream.java.
| void com.jogamp.common.util.Bitstream< T >.ByteInputStream.flush | ( | ) |
Definition at line 448 of file Bitstream.java.
| InputStream com.jogamp.common.util.Bitstream< T >.ByteInputStream.getStream | ( | ) |
Definition at line 438 of file Bitstream.java.
| void com.jogamp.common.util.Bitstream< T >.ByteInputStream.mark | ( | final int | readLimit | ) |
Definition at line 474 of file Bitstream.java.
| long com.jogamp.common.util.Bitstream< T >.ByteInputStream.position | ( | ) |
Definition at line 459 of file Bitstream.java.
| long com.jogamp.common.util.Bitstream< T >.ByteInputStream.position | ( | final long | newPosition | ) | throws UnsupportedOperationException, IllegalArgumentException |
Definition at line 462 of file Bitstream.java.
| int com.jogamp.common.util.Bitstream< T >.ByteInputStream.read | ( | ) | throws IOException |
| void com.jogamp.common.util.Bitstream< T >.ByteInputStream.reset | ( | ) | throws IllegalStateException, IOException |
Definition at line 480 of file Bitstream.java.
| void com.jogamp.common.util.Bitstream< T >.ByteInputStream.setStream | ( | final InputStream | stream | ) |
Definition at line 425 of file Bitstream.java.
| long com.jogamp.common.util.Bitstream< T >.ByteInputStream.skip | ( | final long | n | ) | throws IOException |
| int com.jogamp.common.util.Bitstream< T >.ByteInputStream.write | ( | final byte | val | ) | throws UnsupportedOperationException |
Definition at line 506 of file Bitstream.java.