org.apache.catalina.tribes.io
public class DirectByteArrayOutputStream extends OutputStream
Version: 1.0
| Constructor Summary | |
|---|---|
| DirectByteArrayOutputStream(int size) | |
| Method Summary | |
|---|---|
| byte[] | getArray() |
| byte[] | getArrayDirect() |
| int | size() |
| void | write(int b)
Writes the specified byte to this output stream.
|
Parameters: b the byte.
Throws: IOException if an I/O error occurs. In particular, an
IOException may be thrown if the output stream has
been closed.
UNKNOWN: Implement this java.io.OutputStream method