ASN1C C# Runtime Library  7.6
Public Member Functions | List of all members
Asn1PerDecoder Interface Reference

Public Member Functions

Asn1Type Decode (Asn1PerDecodeBuffer buffer)
 

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

◆ Decode()

Asn1Type Decode ( Asn1PerDecodeBuffer  buffer)

Decode value from given buffer.

Parameters
buffer

Referenced by Asn1Type.EncodeAsOpenType().