public static class SerializeUtils.ByteCountingOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
protected int |
numBytesWritten |
| Constructor and Description |
|---|
SerializeUtils.ByteCountingOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumBytesWritten() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flushpublic SerializeUtils.ByteCountingOutputStream()
public int getNumBytesWritten()
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.