asn1 ~master (2019-04-27T14:06:40Z)
Home
Dub
Repo
BasicEncodingRulesElement.integer
asn1
codecs
ber
BasicEncodingRulesElement
Decodes a signed integer.
T
integer
[@property getter]
class
BasicEncodingRulesElement
@
property
@
system
const
T
integer
(
T
)
(
)
if
(
(
isIntegral
!
T
&&
isSigned
!
T
)
||
is
(
T
==
BigInt
)
)
T
integer
[@property setter]
Throws
ASN1ConstructionException
if the encoded value is not primitively-constructed
ASN1ValueSizeException
if the value is too big to decode to a signed integral type, or if the value is zero bytes
ASN1ValuePaddingException
if there are padding bytes
Meta
Source
See Implementation
asn1
codecs
ber
BasicEncodingRulesElement
constructors
this
functions
fromBytes
opCast
properties
basicMultilingualPlaneString
bitString
boolean
characterString
coordinatedUniversalTime
embeddedPresentationDataValue
endOfContent
enumerated
external
generalString
generalizedTime
graphicString
integer
internationalAlphabetNumber5String
nill
numericString
objectDescriptor
objectIdentifier
octetString
printableString
realNumber
relativeObjectIdentifier
sequence
set
teletexString
toBytes
unicodeTransformationFormat8String
universalString
videotexString
visibleString
static variables
lengthEncodingPreference
Decodes a signed integer.