Klasse XOROutputStream

Alle implementierten Schnittstellen:
Closeable, Flushable, AutoCloseable

public class XOROutputStream extends DelegatingOutputStream
Autor:
Eike Stepper
  • Konstruktordetails

    • XOROutputStream

      public XOROutputStream(OutputStream out, int... key)
  • Methodendetails

    • getKey

      public int[] getKey()
    • write

      public void write(int b) throws IOException
      Beschreibung aus Klasse kopiert: DelegatingOutputStream
      Writes the specified byte to this output stream.

      The write method of DelegatingOutputStream calls the write method of its underlying output stream, that is, it performs out.write(b).

      Implements the abstract write method of OutputStream.

      Setzt außer Kraft:
      write in Klasse DelegatingOutputStream
      Parameter:
      b - the byte.
      Löst aus:
      IOException - if an I/O error occurs.