ASN1C C# Runtime Library
7.6
|
Public Member Functions | |
Asn1Type | Decode (Asn1BerDecodeBuffer buffer, bool explicitTag, int implicitLength) |
This interface provides an interface for decoding. It is meant to be implemented by generated classes corresponding to enumerated types. It is useful for cases where a non-static decode method is needed, such as during decoding driven by table constraints, where the type to be decoded is not known at compile time.
Asn1Type Decode | ( | Asn1BerDecodeBuffer | buffer, |
bool | explicitTag, | ||
int | implicitLength | ||
) |
Decode value from given buffer.
buffer |
explicitTag if true, the value to be decoded is preceded by a tag and length, which must first be decoded. Otherwise, implicitLength provides the length of the value to be decoded.
implicitLength | The length of the value to be decoded if explicitTag was given as false. |
Referenced by Asn1Type.Decode().