public class QDecoderStream extends QPDecoderStream
|Constructor and Description|
Create a Q-decoder that decodes the specified input stream.
|Modifier and Type||Method and Description|
Read the next decoded byte from this input stream.
available, markSupported, read, skip
close, mark, read, reset
public QDecoderStream(InputStream in)
in- the input stream
public int read() throws IOException
intin the range
255. If no byte is available because the end of the stream has been reached, the value
-1is returned. This method blocks until input data is available, the end of the stream is detected, or an exception is thrown.
-1if the end of the stream is reached.
IOException- if an I/O error occurs.
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.