123456789module juptune.asn1.decode.bcd.encoding;
Result fromDecoding(
Asn1Ruleset ruleset
)(
MemoryReader mem,
Asn1Real result,
Asn1Identifier ident
);
Decodes the passed in ASN.1 content bytes.
Currently no decimal encoding forms are supported due to lack of dev time spent on it.
Asn1DecodeError.realIsConstructedif the given identdescribes a constructed encoding.
Asn1DecodeError.realUnsupportedDecimalEncodingif decimal encoding is used, and specifies a format that's not recognised.
Asn1DecodeError.realUnsupportedSpecialEncodingif special encoding is used, and specifies a special value that's not recognised.
Asn1DecodeError.realInvalidDerEncodingfor all other DER spec violations.
Asn1DecodeError.realInvalidEncodingfor all other BER spec violations.
A Resultdepicting whether an error occured - the error string will contain verbose details.