|
|||||||||
| Home >> All >> org >> jgroups >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jgroups.util
Class ExposedByteArrayOutputStream

java.lang.Objectjava.io.OutputStream
java.io.ByteArrayOutputStream
org.jgroups.util.ExposedByteArrayOutputStream
- public class ExposedByteArrayOutputStream
- extends java.io.ByteArrayOutputStream
Extends ByteArrayOutputStream, but exposes the internal buffer. This way we don't need to call toByteArray() which copies the internal buffer
- Version:
- $Id: ExposedByteArrayOutputStream.java,v 1.2 2005/07/25 15:53:36 belaban Exp $
| Field Summary |
| Fields inherited from class java.io.ByteArrayOutputStream |
buf, count |
| Constructor Summary | |
ExposedByteArrayOutputStream()
|
|
ExposedByteArrayOutputStream(int size)
|
|
| Method Summary | |
int |
getCapacity()
|
byte[] |
getRawBuffer()
|
| Methods inherited from class java.io.ByteArrayOutputStream |
reset, size, toByteArray, toString, toString, toString, write, write, writeTo |
| Methods inherited from class java.io.OutputStream |
close, flush, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
ExposedByteArrayOutputStream
public ExposedByteArrayOutputStream()
ExposedByteArrayOutputStream
public ExposedByteArrayOutputStream(int size)
| Method Detail |
getRawBuffer
public byte[] getRawBuffer()
getCapacity
public int getCapacity()
|
|||||||||
| Home >> All >> org >> jgroups >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC