|Constructor and Description|
|Modifier and Type||Method and Description|
Reads the next byte of data from this input stream.
available, close, getDelegate, mark, markSupported, reset, skip
public XORInputStream(InputStream in, int... key)
public int getKey()
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.
This method simply performs
in.read() and returns the result.
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.