ASN1C C# Runtime Library
7.5
|
Public Member Functions | |
Asn1CharOutputStream (TextWriter writer) | |
void | DecrLevel () |
void | IncrLevel () |
void | Indent () |
void | SetWriteWhitespace (bool value) |
Base class for character-based output.
This class also aides in managing indentation. By default, the indent() method will output whitespace, but this can be disabled using setWriteWhitespace.
This class is preferable to Asn1OutputStream when character data is being written.
Asn1CharOutputStream | ( | TextWriter | writer | ) |
Create character output stream on the given TextWriter.
void DecrLevel | ( | ) |
This method decrements the indentation level.
void IncrLevel | ( | ) |
This method increments the indentation level.
void Indent | ( | ) |
This method indents by adding a new-line followed by whitespace corresponding to the current nesting level to the output stream.
void SetWriteWhitespace | ( | bool | value | ) |
Turn whitespace writing by the indent() method on/off.
value |