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, writeUINT64
close, size, toByteArray, toString, toString, toString, write, write, writeTo
flush, write
public Packet() throws IOException
IOException
public Packet(int size) throws IOException
IOException
public int setPosition(int pos)
public int position()
public void finish()
public void reset()
reset
in class ByteArrayOutputStream
Copyright © 2024. All rights reserved.