public class PacketAssembler extends DataOutputStream
written
out
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, writeUTF
close, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write
public byte[] done() throws IOException
IOException
public void writePackedValue(boolean signed, Number value) throws IOException
IOException
public void writeString(String val) throws IOException
IOException
public void writePackedValue(boolean signed, BigInteger value) throws IOException
IOException
public void writePackedValue(boolean signed, long value) throws IOException
IOException
public void writePackedValue(boolean signed, int value) throws IOException
IOException
public void writeAddress(int val) throws IOException
IOException
public void writeAddressing(int from, int to) throws IOException
IOException
public void appendCrc8() throws IOException
IOException
public void writeObjects(Object... objects) throws IOException
IOException
Copyright © 2020. All rights reserved.