public class MyByteArrayOutputStream extends OutputStream
Constructor and Description |
---|
MyByteArrayOutputStream(int length) |
Modifier and Type | Method and Description |
---|---|
int |
getBytesWritten() |
byte[] |
toByteArray() |
void |
write(int value) |
close, flush, write, write
public void write(int value) throws IOException
write
in class OutputStream
IOException
public byte[] toByteArray()
public int getBytesWritten()
Copyright © 2007-2012. All Rights Reserved.