public final class PacketByteArrayOutputStream extends OutputStream
| Constructor and Description |
|---|
PacketByteArrayOutputStream() |
PacketByteArrayOutputStream(int initialSize) |
public PacketByteArrayOutputStream()
public PacketByteArrayOutputStream(int initialSize)
protected Packet allocate()
public void skip(int size)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic Packet getPacket()
public void reset()
public int position()
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.