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, writepublic void write(int value)
throws IOException
write in class OutputStreamIOExceptionpublic byte[] toByteArray()
public int getBytesWritten()
Copyright © 2007-2012. All Rights Reserved.