java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf30.ExcpSection
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.smf30dct()
SMF30DCT as a Duration.long
SMF30DCT raw value.double
SMF30DCT in seconds.smf30ddn()
SMF30DDN value.int
smf30dev()
SMF30DEV value.smf30key()
SMF30KEY value.int
smf30utp()
SMF30UTP value.long
smf30xbs()
SMF30XBS value, throws exception if SMF30XBS overflows 64 bit signed integer.SMF30XBS value as a BigInteger.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF30CBS
public static final int SMF30CBSConstant: 0x80 = 128- See Also:
-
-
Method Details
-
smf30key
SMF30KEY value.- Returns:
- BigInteger SMF30KEY value
-
smf30dev
public int smf30dev()SMF30DEV value.- Returns:
- int SMF30DEV value
-
smf30utp
public int smf30utp()SMF30UTP value.- Returns:
- int SMF30UTP value
-
smf30cua
public int smf30cua()SMF30CUA value.- Returns:
- int SMF30CUA value
-
smf30ddn
SMF30DDN value.- Returns:
- String SMF30DDN value
-
smf30blk
public long smf30blk()SMF30BLK value.- Returns:
- long SMF30BLK value
-
smf30bsz
public int smf30bsz()SMF30BSZ value, with mask 0x7FFF.- Returns:
- int SMF30BSZ value & 0x7FFF
-
smf30dct
SMF30DCT as a Duration.- Returns:
- Duration SMF30DCT seconds
- See Also:
-
smf30dctSeconds
public double smf30dctSeconds()SMF30DCT in seconds.- Returns:
- double SMF30DCT converted to seconds
-
smf30dctRawValue
public long smf30dctRawValue()SMF30DCT raw value.- Returns:
- long SMF30DCT raw value
-
smf30xbs
public long smf30xbs()SMF30XBS value, throws exception if SMF30XBS overflows 64 bit signed integer.- Returns:
- long SMF30XBS
- Throws:
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). Usesmf30xbsAsBigInteger()
if this is possible.
-
smf30xbsAsBigInteger
SMF30XBS value as a BigInteger.smf30xbs()
may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF30XBS
-
create
create is intended for internal use only. Instances of this section are created by the parent record or section.- Parameters:
Data
- Array of bytes containing data for this sectionoffset
- Offset of this section in the datalength
- length of the section
-