public class ByteArrayBuffer
extends java.io.ByteArrayOutputStream
Constructor and Description |
---|
ByteArrayBuffer()
Constructs a new buffer.
|
ByteArrayBuffer(int size)
Constructs a new buffer with initial buffer size.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBuffer()
Gets the buffer.
|
java.io.InputStream |
inputStream()
Creates an input stream reading from buffer.
|
boolean |
isFull() |
public ByteArrayBuffer()
public ByteArrayBuffer(int size)
size
- Initial size of buffer.public boolean isFull()
public byte[] getBuffer()
public java.io.InputStream inputStream()
© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.