public class UnsyncByteArrayOutputStream extends OutputStream
Constructor and Description |
---|
UnsyncByteArrayOutputStream() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
reset() |
byte[] |
toByteArray() |
void |
write(byte[] arg0) |
void |
write(byte[] arg0,
int arg1,
int arg2) |
void |
write(int arg0) |
flush
public void write(byte[] arg0)
write
in class OutputStream
public void write(byte[] arg0, int arg1, int arg2)
write
in class OutputStream
public void write(int arg0)
write
in class OutputStream
public byte[] toByteArray()
public void reset()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
Copyright © 2000-2012 The Apache Software Foundation. All Rights Reserved.