awesn1
Toggle table of contents
0.1.1
common
Target filter
common
Switch theme
Search in API
Skip to content
awesn1
core
/
at.asitplus.awesn1.encoding
/
decodeToDouble
decode
To
Double
fun
Asn1Primitive
.
decodeToDouble
(
assertTag
:
Asn1Element.Tag
=
Asn1Element.Tag.REAL
)
:
Double
(
source
)
Decode the
Asn1Primitive
as a
Double
.
Beware of possible loss of precision!
Throws
Asn1Exception
on invalid input