Example usage for Java javax.imageio.stream ImageInputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Closes the stream. |
void | flush() Discards the initial position of the stream prior to the current stream position. |
Class> | getClass() Returns the runtime class of this Object . |
long | getStreamPosition() Returns the current byte position of the stream. |
long | length() Returns the total length of the stream, if known. |
void | mark() Marks a position in the stream to be returned to by a subsequent call to reset . |
long | readBits(int numBits) Reads a bitstring from the stream and returns it as a long , with the first bit read becoming the most significant bit of the output. |
void | readFully(byte[] b) Reads b.length bytes from the stream, and stores them into b starting at index 0 . |
String | readLine() Reads the next line of text from the input stream. |
int | readUnsignedByte() Reads a byte from the stream, and (conceptually) converts it to an int, masks it with 0xff in order to strip off any sign-extension bits, and returns it as a byte value. |
void | reset() Returns the stream pointer to its previous position, including the bit offset, at the time of the most recent unmatched call to mark . |
void | seek(long pos) Sets the current stream position to the desired location. |
int | skipBytes(int n) Moves the stream position forward by a given number of bytes. |
long | skipBytes(long n) Moves the stream position forward by a given number of bytes. |