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 Asn1LongLength.fromUnownedBytes

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

static Asn1LongLength fromUnownedBytes(
    const const ubyte[] lengthBytes
);

Documentation

Constructs an Asn1LongLengthusing a slice to external memory - this memory containing the raw length bytes used within an encoded ASN.1 record.

Notes

This constructor does NOT take ownership of the given memory slice. This means the returned struct MUST NOT outlive the underlying source of memory.

Params

Returns

An Asn1LongLengththat uses the provided length bytes.