|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.io.OutputStream
java.io.ByteArrayOutputStream
org.jboss.remoting.transport.multiplex.utility.ShrinkableByteArrayOutputStream
A ShrinkableByteArrayOutputStream.
Copyright (c) 2005
| Field Summary |
| Fields inherited from class java.io.ByteArrayOutputStream |
buf, count |
| Constructor Summary | |
ShrinkableByteArrayOutputStream()
Create a new ShrinkableByteArrayOutputStream. |
|
| Method Summary | |
int |
available()
FIXME Comment this |
int |
bytesReturned()
FIXME Comment this |
protected int |
getCount()
|
protected int |
getLength()
|
protected int |
getNextUsed()
|
protected int |
getUsed()
|
int |
start()
FIXME Comment this |
byte[] |
toByteArray(int length)
FIXME Comment this |
void |
write(byte[] b,
int off,
int len)
Writes len bytes from the specified byte array
starting at offset off to this byte array output stream. |
void |
write(int b)
Writes the specified byte to this byte array output stream. |
| Methods inherited from class java.io.ByteArrayOutputStream |
close, reset, size, toByteArray, toString, toString, toString, 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 ShrinkableByteArrayOutputStream()
| Method Detail |
public int available()
public int bytesReturned()
public int start()
public byte[] toByteArray(int length)
length -
public void write(int b)
b - the byte to be written.
public void write(byte[] b,
int off,
int len)
len bytes from the specified byte array
starting at offset off to this byte array output stream.
b - the data.off - the start offset in the data.len - the number of bytes to write.protected int getCount()
protected int getLength()
protected int getNextUsed()
protected int getUsed()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||