Generated C# Method Format and Calling Parameters

The signature for a C# OER decode method is as follows:

   public override void Decode (Asn1OerDecodeBuffer buffer)
      

The buffer argument is a reference of an Asn1OerDecodeBuffer object that describes the message that is being decoded. This must be created and initialized before calling any decode method. See the description of this class in the C# Run-Time Classes section for details on how this class is used.

The decode method returns no result. Failure is handled by the exception mechanism. All ASN1C C# exceptions are derived from the Asn1Exception base class. See the section on exceptions for a complete list and description of the various ASN.1 exceptions that can be thrown.