Note
this class will not close the underlying stream.
| Modifier and Type | Field and Description |
|---|---|
| private final OutputStream | |
| private final byte[] | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public void | write(byte[]
the data. buf, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. Writes |
| public void | write(int
the b)byte.Implements abstract java. Writes the specified byte to this output stream. |
| cOut | back to summary |
|---|---|
| private final OutputStream cOut | |
| mac | back to summary |
|---|---|
| private final byte[] mac | |
| macIndex | back to summary |
|---|---|
| pack-priv int macIndex | |
| MacCaptureStream | back to summary |
|---|---|
| public MacCaptureStream(OutputStream cOut, int macLength) | |
| getMac | back to summary |
|---|---|
| public byte[] getMac() | |
| write | back to summary |
|---|---|
| public void write(byte[] buf, int off, int len) throws IOException Overrides java. Doc from java. Writes
If
If
| |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |