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