Java javax.imageio.stream ImageInputStream fields, constructors, methods, implement or subclass

Example usage for Java javax.imageio.stream ImageInputStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.imageio.stream ImageInputStream.

The text is from its open source code.

Method

voidclose()
Closes the stream.
voidflush()
Discards the initial position of the stream prior to the current stream position.
ClassgetClass()
Returns the runtime class of this Object .
longgetStreamPosition()
Returns the current byte position of the stream.
longlength()
Returns the total length of the stream, if known.
voidmark()
Marks a position in the stream to be returned to by a subsequent call to reset .
longreadBits(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.
voidreadFully(byte[] b)
Reads b.length bytes from the stream, and stores them into b starting at index 0 .
StringreadLine()
Reads the next line of text from the input stream.
intreadUnsignedByte()
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.
voidreset()
Returns the stream pointer to its previous position, including the bit offset, at the time of the most recent unmatched call to mark .
voidseek(long pos)
Sets the current stream position to the desired location.
intskipBytes(int n)
Moves the stream position forward by a given number of bytes.
longskipBytes(long n)
Moves the stream position forward by a given number of bytes.