public class Packet extends ByteArrayWriter
buf, count| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
int |
position() |
void |
reset() |
int |
setPosition(int pos) |
array, dispose, encodeInt, encodeInt, move, silentClose, stripLeadingZeros, writeBigInteger, writeBinaryString, writeBinaryString, writeBoolean, writeInt, writeInt, writeMPINT, writeShort, writeString, writeString, writeUINT32, writeUINT64, writeUINT64close, size, toByteArray, toString, toString, toString, write, write, writeToflush, writepublic Packet()
throws IOException
IOExceptionpublic Packet(int size)
throws IOException
IOExceptionpublic int setPosition(int pos)
public int position()
public void finish()
public void reset()
reset in class ByteArrayOutputStreamCopyright © 2025. All rights reserved.