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

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

static Asn1Integer fromUnownedBytes(
    const ubyte[] bytes
);

Documentation

Constructs an Asn1Integerusing a slice to external memory - this memory containing the raw 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 Asn1Integerthat uses the provided length bytes.