123456789101112131415161718192021222324252627module 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;
}
A simple handler for Asn1PrinterVisitorthat will populate an in-memory array with the printer's result.
Pass an instance of this class into Asn1PrinterVisitor, and then use the result from .bufferas needed.
| Name | Description |
|---|---|
| __xdtor |
| Name | Description |
|---|---|
| dedent | |
| endLine | |
| indent | |
| putInLine | |
| startLine |
| Name | Description |
|---|---|
| buffer |