Generated BER Decode Functions
Prev Chapter 7. Generated BER Functions Next

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


Prev Up Next
Generated Streaming C++ Encode Method Format and Calling Parameters Home Generated C Function Format and Calling Parameters

AltStyle によって変換されたページ (->オリジナル) /