
Generated Java Method Format and Calling Parameters
public void decode (Asn1PerDecodeBuffer buffer) throws Asn1Exception, java.io.ExceptionThe buffer argument is a reference of an Asn1PerDecodeBuffer 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. Unlike the C/C++ version, a negative status value is not returned to indicate a failure. That 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. The java.io.Exception that can be thrown is in the read method within the decode buffer base class. This method attempts to read data from an input stream using the methods in the java.io package.
Objective Systems, Inc.102 Pickering Way, Suite #506Exton, Pennsylvania 19341 http://www.obj-sys.com Phone: (484) 875-9841 Toll-free: (877) 307-6855 (US only) Fax: (484) 875-9830 info@obj-sys.com |