| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private static final int | |
| private int | |
| private int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| public byte[] | |
| public void | write(byte[] arg0)
Overrides java. Writes |
| public void | write(byte[] arg0, int arg1, int arg2)
Overrides java. Writes |
| public void | write(int arg0)
Implements abstract java. Writes the specified byte to this output stream. |
| public void | writeTo(OutputStream
an OutputStream on which to write the contents of this stream. out)Takes the contents of this stream and writes it to the output stream
|
| buf | back to summary |
|---|---|
| private byte[] buf | |
| INITIAL_SIZE | back to summary |
|---|---|
| private static final int INITIAL_SIZE | |
| pos | back to summary |
|---|---|
| private int pos | |
| size | back to summary |
|---|---|
| private int size | |
| VM_ARRAY_INDEX_MAX_VALUE | back to summary |
|---|---|
| private static final int VM_ARRAY_INDEX_MAX_VALUE | |
| UnsyncByteArrayOutputStream | back to summary |
|---|---|
| public UnsyncByteArrayOutputStream() | |
| expandSize | back to summary |
|---|---|
| private void expandSize(int newPos) | |
| reset | back to summary |
|---|---|
| public void reset() | |
| toByteArray | back to summary |
|---|---|
| public byte[] toByteArray() | |
| write | back to summary |
|---|---|
| public void write(byte[] arg0) Overrides java. Doc from java. Writes
| |
| write | back to summary |
|---|---|
| public void write(byte[] arg0, int arg1, int arg2) Overrides java. Doc from java. Writes
If
If
| |
| write | back to summary |
|---|---|
| public void write(int arg0) Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |
| writeTo | back to summary |
|---|---|
| public void writeTo(OutputStream out) throws IOException Takes the contents of this stream and writes it to the output stream
| |