public class XOROutputStream extends DelegatingOutputStream
out| Constructor and Description |
|---|
XOROutputStream(java.io.OutputStream out,
int... key) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getKey() |
void |
write(int b)
Writes the specified
byte to this output stream. |
close, flush, getDelegatepublic int[] getKey()
public void write(int b)
throws java.io.IOException
DelegatingOutputStreambyte 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.
write in class DelegatingOutputStreamb - the byte.java.io.IOException - if an I/O error occurs.Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html