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

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

static Asn1BitString fromUnownedBytes(
    const ubyte[] bytes, 
    ulong bitCount
);

Documentation

Constructs an Asn1BitStringusing a slice to external memory.

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.

Additional validation (e.g. those specified by DER) are not performed by this constructor.

Params

Returns

An Asn1Integerthat uses the provided length bytes.