12345678910111213141516module 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();
}
Represents an ASN.1 BOOLEAN.
This type does not contain references to external memory.
| Name | Description |
|---|---|
| asBool |
Returns: The |
| fromDecoding |
Decodes the passed in ASN.1 content bytes. |
| toString | |
| value |
Returns: The underlying byte as encoding within ASN.1 |