|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.OutputStream | +--java.io.ByteArrayOutputStream | +--org.infohazard.maverick.util.FastByteArrayOutputStream
Allows us to convert this into a ByteArrayInputStream without copying the buffer. Just make sure you are finished writing first.
Field Summary |
Fields inherited from class java.io.ByteArrayOutputStream |
buf, count |
Constructor Summary | |
FastByteArrayOutputStream()
|
Method Summary | |
java.io.ByteArrayInputStream |
getInputStream()
You should be done writing before you call this method. |
Methods inherited from class java.io.ByteArrayOutputStream |
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo |
Methods inherited from class java.io.OutputStream |
flush, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FastByteArrayOutputStream()
Method Detail |
public java.io.ByteArrayInputStream getInputStream()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |