public class TTR_AbstractInteger extends TaggedTailRecord
Abstract record with one integer in payload.
rawLength, tag| Constructor and Description |
|---|
TTR_AbstractInteger(byte tag,
byte[] rec,
int rawLength) |
TTR_AbstractInteger(byte tag,
int number) |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
byte[] |
toBytes()
Convert this record to bytes to send out.
|
fromBytes, fromBytesAll, getRawLength, getTag, htonl, toBytespublic TTR_AbstractInteger(byte tag,
byte[] rec,
int rawLength)
public TTR_AbstractInteger(byte tag,
int number)
public byte[] toBytes()
TaggedTailRecordtoBytes in class TaggedTailRecordpublic int getValue()
Copyright © 2019. All rights reserved.