12345678module juptune.asn1.decode.bcd.encoding;
Result asn1DecodeLength(
Asn1Ruleset ruleset
)(
MemoryReader mem,
Asn1Length length
);
Decodes a record length from the given ASN.1 data stream.
Asn1DecodeError.eofif there are less bytes than expected.
Asn1DecodeError.componentLengthReservedif the length contains a reserved value.
Asn1DecodeError.componentLengthIndefiniteUnderDerwhen the indefinite length form is used under DER.
Asn1DecodeError.componentLengthInvalidDerEncodingfor any other DER-specific violations.
A Resultif decoding failed.