[]
        
(Showing Draft Content)

CSJ2K.j2k.entropy.decoder.ByteInputBuffer.read

read Method

read()

Reads the next byte of data from this input stream. The value byte is returned as an int in the range 0 to 255. If no byte is available because the end of the stream has been reached, -1 is returned.

       <p>This method is not synchronized, so it is not thread safe.</p>
Declaration
public virtual int read()
Returns
Type Description
int

The byte read in the range 0-255, or -1 if the end of stream has been reached.