| java.lang.Object java.io.OutputStream org.apache.struts2.util.FastByteArrayOutputStream
FastByteArrayOutputStream | public class FastByteArrayOutputStream extends OutputStream (Code) | | A speedy implementation of ByteArrayOutputStream. It's not synchronized, and it
does not copy buffers when it's expanded. There's also no copying of the internal buffer
if it's contents is extracted with the writeTo(stream) method.
|
FastByteArrayOutputStream | public FastByteArrayOutputStream()(Code) | | |
FastByteArrayOutputStream | public FastByteArrayOutputStream(int aSize)(Code) | | |
addBuffer | protected void addBuffer()(Code) | | Create a new buffer and store the
current one in linked list
|
close | public void close()(Code) | | |
getSize | public int getSize()(Code) | | |
toByteArray | public byte[] toByteArray()(Code) | | |
|
|