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

Structs Asn1BitString

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module juptune.asn1.decode.bcd.encoding;

struct Asn1BitString
{
    /++ FUNCTIONS ++/
    
    ///
    ulong bitCount();
    ///
    auto bits();
    ///
    const ubyte[] bytes();
    /// Decodes the passed in ASN.1 content bytes. 
    Result fromDecoding(Asn1Ruleset ruleset)(MemoryReader mem, Asn1BitString result, Asn1Identifier ident);
    /// Constructs an Asn1BitString using a slice to external memory. 
    static Asn1BitString fromUnownedBytes(const ubyte[] bytes, ulong bitCount);
    ///
    void toString(SinkT)(SinkT sink, int depth = 0);
    
}

Documentation

Represents an ASN.1 BIT STRING.

This type contains slices to exteral memory, so please be aware of data lifetimes.

Functions

Name Description
bitCount
bits
bytes
fromDecoding

Decodes the passed in ASN.1 content bytes.

fromUnownedBytes

Constructs an Asn1BitStringusing a slice to external memory.

toString