com.sun.squawk.util
Class ByteArrayOutputStreamWithGetBytes
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
com.sun.squawk.util.ByteArrayOutputStreamWithGetBytes
public class ByteArrayOutputStreamWithGetBytes
- extends ByteArrayOutputStream
An extention of ByteArrayOutputStream
that allows the byte array buffer to be read directly, using the
getBytes()
method.
- See Also:
ByteArrayOutputStream
ByteArrayOutputStreamWithGetBytes
public ByteArrayOutputStreamWithGetBytes()
ByteArrayOutputStreamWithGetBytes
public ByteArrayOutputStreamWithGetBytes(int size)
ensureEnoughRoomFor
public void ensureEnoughRoomFor(int size)
getBytes
public byte[] getBytes()
skip
public void skip(int size)
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.