TOC PREV NEXT INDEX


Generated BER Decode Functions


NOTE: This section assumes standard memory-buffer based decoding is to be done. If stream-based decoding is to be done (specified by adding -stream to the ASN1C command-line), see the Generated BER Stream-Oriented Decode Functions section for correct procedures on using the stream-based functions.


For each ASN.1 production defined in an ASN.1 source file, a C decode function is generated. This function will decode an ASN.1 message into a C variable of the given type.

If C++ code generation is specified, a control class is generated that contains a Decode method that wraps this function. This function is invoked through the class interface to decode an ASN.1 message into the variable referenced in the msgData component of the class.



Objective Systems, Inc.

55 Dowlin Forge Road
Exton, 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
TOC PREV NEXT INDEX