Generated Java Method Format and Calling Parameters

The signature for a Java OER decode method is as follows:

   public void decode (Asn1OerDecodeBuffer buffer)
      throws java.io.Exception

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 Java 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 Java 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.