Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Functions asn1DecodeIdentifier

1
2
3
4
5
6
7
8
module juptune.asn1.decode.bcd.encoding;

Result asn1DecodeIdentifier(
    Asn1Ruleset ruleset
)(
    MemoryReader mem, 
    Asn1Identifier ident
);

Documentation

Decodes an identifier from the given ASN.1 data stream.

Params

Throws

Asn1DecodeError.eofif there are less bytes than expected.

Asn1DecodeError.identifierTagTooLongif the long-form tag contains too many bytes to fit into a ulong.

Asn1DecodeError.identifierTagInvalidEncodingfor any other violations.

Returns

A Resultif decoding failed.