|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.OutputStream | +--java.io.ByteArrayOutputStream | +--com.develop.io.NakedByteStream
works around the java ByteArray streams, which do not provide direct access to the byte array. Direct access can make programs trickier to debug but saves a System.arraycopy on every marshal!
Fields inherited from class java.io.ByteArrayOutputStream |
buf, count, isClosed |
Constructor Summary | |
NakedByteStream()
|
Method Summary | |
int |
getCount()
|
byte[] |
getInternalBuffer()
|
Methods inherited from class java.io.ByteArrayOutputStream |
close, ensureOpen, 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 |
|
Constructor Detail |
public NakedByteStream()
Method Detail |
public byte[] getInternalBuffer()
public int getCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |