|
GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java (public API).
|
Specific byte stream.
More...
Public Member Functions | |
| ByteOutputStream (final OutputStream stream) | |
| void | setStream (final OutputStream stream) |
| void | close () throws IOException |
| void | flush () throws IOException |
| boolean | canInput () |
| boolean | canOutput () |
| long | position () |
| long | position (final long newPosition) throws UnsupportedOperationException, IllegalArgumentException |
| long | skip (final long n) throws IOException |
| OutputStream | getStream () |
| void | mark (final int readLimit) throws UnsupportedOperationException |
| void | reset () throws UnsupportedOperationException |
| int | read () throws UnsupportedOperationException |
| int | write (final byte val) throws IOException |
Public Member Functions inherited from com.jogamp.common.util.Bitstream< T >.ByteStream< OutputStream > | |
| 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 output operations only.
Definition at line 517 of file Bitstream.java.
| com.jogamp.common.util.Bitstream< T >.ByteOutputStream.ByteOutputStream | ( | final OutputStream | stream | ) |
| boolean com.jogamp.common.util.Bitstream< T >.ByteOutputStream.canInput | ( | ) |
Definition at line 552 of file Bitstream.java.
| boolean com.jogamp.common.util.Bitstream< T >.ByteOutputStream.canOutput | ( | ) |
Definition at line 555 of file Bitstream.java.
| void com.jogamp.common.util.Bitstream< T >.ByteOutputStream.close | ( | ) | throws IOException |
Definition at line 538 of file Bitstream.java.
| void com.jogamp.common.util.Bitstream< T >.ByteOutputStream.flush | ( | ) | throws IOException |
Definition at line 545 of file Bitstream.java.
| OutputStream com.jogamp.common.util.Bitstream< T >.ByteOutputStream.getStream | ( | ) |
Definition at line 578 of file Bitstream.java.
| void com.jogamp.common.util.Bitstream< T >.ByteOutputStream.mark | ( | final int | readLimit | ) | throws UnsupportedOperationException |
Definition at line 581 of file Bitstream.java.
| long com.jogamp.common.util.Bitstream< T >.ByteOutputStream.position | ( | ) |
Definition at line 558 of file Bitstream.java.
| long com.jogamp.common.util.Bitstream< T >.ByteOutputStream.position | ( | final long | newPosition | ) | throws UnsupportedOperationException, IllegalArgumentException |
Definition at line 561 of file Bitstream.java.
| int com.jogamp.common.util.Bitstream< T >.ByteOutputStream.read | ( | ) | throws UnsupportedOperationException |
Definition at line 591 of file Bitstream.java.
| void com.jogamp.common.util.Bitstream< T >.ByteOutputStream.reset | ( | ) | throws UnsupportedOperationException |
Definition at line 586 of file Bitstream.java.
| void com.jogamp.common.util.Bitstream< T >.ByteOutputStream.setStream | ( | final OutputStream | stream | ) |
Definition at line 526 of file Bitstream.java.
| long com.jogamp.common.util.Bitstream< T >.ByteOutputStream.skip | ( | final long | n | ) | throws IOException |
| int com.jogamp.common.util.Bitstream< T >.ByteOutputStream.write | ( | final byte | val | ) | throws IOException |