readAsn1RealContent

fun Source.readAsn1RealContent(nBytes: Int, lenient: Boolean = false): Asn1Real(source)

Parameters

lenient

if true the function will not throw an exception if the input is not normalised. A normalised REAL means:

  • mantissa and exponent can be used as-is with base 2

  • mantissa and exponent are minimally encoded