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 Asn1OctetString

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

struct Asn1OctetString
{
    /++ FUNCTIONS ++/
    
    /// Returns: All the bytes making up the octet string 
    const ubyte[] data();
    /// Decodes the passed in ASN.1 content bytes. 
    Result fromDecoding(Asn1Ruleset ruleset)(MemoryReader mem, Asn1OctetString result, Asn1Identifier ident);
    /// Constructs an Asn1OctetString using a slice to external memory. 
    static Asn1OctetString fromUnownedBytes(const ubyte[] data);
    ///
    void toString(SinkT)(SinkT sink, int depth = 0);
    
}

Documentation

Represents an ASN.1 OCTET STRING.

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

Functions

Name Description
data

Returns: All the bytes making up the octet string

fromDecoding

Decodes the passed in ASN.1 content bytes.

fromUnownedBytes

Constructs an Asn1OctetStringusing a slice to external memory.

toString