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

Classes Asn1StringPrinterHandler

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
module juptune.asn1.lang.printer;

final class Asn1StringPrinterHandler : Asn1ErrorHandler
{
    /++ ALIASES ++/
    
    ///
    alias __xdtor = __MARMOS_BUG__;
    
    /++ FUNCTIONS ++/
    
    ///
    override void dedent();
    ///
    override void endLine();
    ///
    override void indent();
    ///
    override void putInLine(const char[] slice);
    ///
    override void startLine(Asn1Location location);
    
    /++ VARIABLES ++/
    
    ///
    ArrayBase!(Malloc, 8LU, (length, capacity) => max(capacity, length) * 2, (length, capacity) => length < capacity / 2, (length, capacity) => capacity / 2, char) buffer;
}

Documentation

A simple handler for Asn1PrinterVisitorthat will populate an in-memory array with the printer's result.

Usage

Pass an instance of this class into Asn1PrinterVisitor, and then use the result from .bufferas needed.

Aliases

Name Description
__xdtor

Functions

Name Description
dedent
endLine
indent
putInLine
startLine

Variables

Name Description
buffer