public final class ExcpSection extends SmfData
Modifier and Type | Field and Description |
---|---|
static int |
SMF30CBS
Constant: 0x80 = 128
|
Modifier and Type | Method and Description |
---|---|
static ExcpSection |
create(byte[] Data,
int offset,
int length)
create is intended for internal use only.
|
long |
smf30blk()
SMF30BLK value.
|
int |
smf30bsz()
SMF30BSZ value, with mask 0x7FFF.
|
int |
smf30cua()
SMF30CUA value.
|
Duration |
smf30dct()
SMF30DCT as a Duration.
|
long |
smf30dctRawValue()
SMF30DCT raw value.
|
double |
smf30dctSeconds()
SMF30DCT in seconds.
|
String |
smf30ddn()
SMF30DDN value.
|
int |
smf30dev()
SMF30DEV value.
|
BigInteger |
smf30key()
SMF30KEY value.
|
int |
smf30utp()
SMF30UTP value.
|
long |
smf30xbs()
SMF30XBS value, throws exception if SMF30XBS overflows 64 bit signed integer.
|
BigInteger |
smf30xbsAsBigInteger()
SMF30XBS value as a BigInteger.
|
createSection, dump, dump, dump, dump, equals, getBytes, getBytes, getDataArray, getTriplet, hashCode, toString
public static final int SMF30CBS
public BigInteger smf30key()
public int smf30dev()
public int smf30utp()
public int smf30cua()
public String smf30ddn()
public long smf30blk()
public int smf30bsz()
public Duration smf30dct()
Duration
public double smf30dctSeconds()
public long smf30dctRawValue()
public long smf30xbs()
IllegalArgumentException
- If the value of SMF30XBS exceeds the maximum
value of a signed 64 bit integer (i.e. the high order bit is set in SMF30XBS).
Use smf30xbsAsBigInteger()
if this is possible.public BigInteger smf30xbsAsBigInteger()
smf30xbs()
may provide better performance
if the value will not exceed the maximum value for a signed long.
public static ExcpSection create(byte[] Data, int offset, int length)
Data
- Array of bytes containing data for this sectionoffset
- Offset of this section in the datalength
- length of the sectionCopyright © 2020 Black Hill Software Pty Ltd. All rights reserved.