Klasse XORInputStream

Alle implementierten Schnittstellen:
Closeable, AutoCloseable

public class XORInputStream extends DelegatingInputStream
Autor:
Eike Stepper
  • Konstruktordetails

    • XORInputStream

      public XORInputStream(InputStream in, int... key)
  • Methodendetails

    • getKey

      public int[] getKey()
    • read

      public int read() throws IOException
      Beschreibung aus Klasse kopiert: DelegatingInputStream
      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, the value -1 is 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.

      Setzt außer Kraft:
      read in Klasse DelegatingInputStream
      Gibt zurück:
      the next byte of data, or -1 if the end of the stream is reached.
      Löst aus:
      IOException - if an I/O error occurs.
      Siehe auch: