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, toString
flush, write
public NonSyncByteArrayOutputStream(int size)
public NonSyncByteArrayOutputStream()
public byte[] getData()
public int getLength()
public void reset()
reset
in class ByteArrayOutputStream
public void write(DataInput in, int length) throws IOException
IOException
public void write(int b)
write
in class ByteArrayOutputStream
public void write(byte[] b, int off, int len)
write
in class ByteArrayOutputStream
public void writeTo(OutputStream out) throws IOException
writeTo
in class ByteArrayOutputStream
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.