public class NonSyncByteArrayOutputStream extends ByteArrayOutputStream
buf, count| Constructor and Description |
|---|
NonSyncByteArrayOutputStream() |
NonSyncByteArrayOutputStream(int size) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData() |
int |
getLength() |
void |
reset() |
void |
write(byte[] b,
int off,
int len) |
void |
write(DataInput in,
int length) |
void |
write(int b) |
void |
writeTo(OutputStream out) |
close, size, toByteArray, toString, toString, toStringflush, writepublic NonSyncByteArrayOutputStream(int size)
public NonSyncByteArrayOutputStream()
public byte[] getData()
public int getLength()
public void reset()
reset in class ByteArrayOutputStreampublic void write(DataInput in, int length) throws IOException
IOExceptionpublic void write(int b)
write in class ByteArrayOutputStreampublic void write(byte[] b,
int off,
int len)
write in class ByteArrayOutputStreampublic void writeTo(OutputStream out) throws IOException
writeTo in class ByteArrayOutputStreamIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.