public class PacketAssembler extends DataOutputStream
writtenout| Constructor and Description |
|---|
PacketAssembler() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendCrc8() |
byte[] |
done() |
void |
writeAddress(int val) |
void |
writeAddressing(int from,
int to) |
void |
writeObjects(Object... objects) |
void |
writePackedValue(boolean signed,
BigInteger value) |
void |
writePackedValue(boolean signed,
int value) |
void |
writePackedValue(boolean signed,
long value) |
void |
writePackedValue(boolean signed,
Number value) |
void |
writeString(String val) |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFclose, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwritepublic byte[] done()
throws IOException
IOExceptionpublic void writePackedValue(boolean signed,
Number value)
throws IOException
IOExceptionpublic void writeString(String val) throws IOException
IOExceptionpublic void writePackedValue(boolean signed,
BigInteger value)
throws IOException
IOExceptionpublic void writePackedValue(boolean signed,
long value)
throws IOException
IOExceptionpublic void writePackedValue(boolean signed,
int value)
throws IOException
IOExceptionpublic void writeAddress(int val)
throws IOException
IOExceptionpublic void writeAddressing(int from,
int to)
throws IOException
IOExceptionpublic void appendCrc8()
throws IOException
IOExceptionpublic void writeObjects(Object... objects) throws IOException
IOExceptionCopyright © 2020. All rights reserved.