Asn1BerDecoder Interface Reference

List of all members.

Public Member Functions

Asn1Type Decode (Asn1BerDecodeBuffer buffer, bool explicitTag, int implicitLength)

Detailed Description

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.


Member Function Documentation

Asn1Type Decode ( Asn1BerDecodeBuffer  buffer,
bool  explicitTag,
int  implicitLength 
)

Decode value from given buffer.

Parameters:
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.

Parameters:
implicitLength The length of the value to be decoded if explicitTag was given as false.