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, flush
public SerializeUtils.ByteCountingOutputStream()
public int getNumBytesWritten()
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.