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 Asn1Bool

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

struct Asn1Bool
{
    /++ FUNCTIONS ++/
    
    /// Returns: The Asn1Boolean as a native bool. 
    bool asBool();
    /// Decodes the passed in ASN.1 content bytes. 
    Result fromDecoding(Asn1Ruleset ruleset)(MemoryReader mem, Asn1Bool result, Asn1Identifier ident);
    ///
    void toString(SinkT)(SinkT sink, int depth = 0);
    /// Returns: The underlying byte as encoding within ASN.1 
    ubyte value();
    
}

Documentation

Represents an ASN.1 BOOLEAN.

This type does not contain references to external memory.

Functions

Name Description
asBool

Returns: The Asn1Booleanas a native bool.

fromDecoding

Decodes the passed in ASN.1 content bytes.

toString
value

Returns: The underlying byte as encoding within ASN.1