org.jgroups.util
Class ExposedByteArrayOutputStream
ByteArrayOutputStream
org.jgroups.util.ExposedByteArrayOutputStream
public class ExposedByteArrayOutputStream
extends ByteArrayOutputStream
Extends ByteArrayOutputStream, but exposes the internal buffer. This way we don't need to call
toByteArray() which copies the internal buffer
$Id: ExposedByteArrayOutputStream.java,v 1.2 2005/07/25 15:53:36 belaban Exp $
ExposedByteArrayOutputStream
public ExposedByteArrayOutputStream()
ExposedByteArrayOutputStream
public ExposedByteArrayOutputStream(int size)
getCapacity
public int getCapacity()
getRawBuffer
public byte[] getRawBuffer()
Copyright B) 1998-2005 Bela Ban. All Rights Reserved.