ASN1C C# Runtime Library  7.3
Static Public Member Functions | List of all members
Asn1XerUtil Class Reference

Static Public Member Functions

static void EncodeReal (Asn1XerEncoder buffer, double value, System.String elemName)
 

Detailed Description

This class contains some general purpose static utility functions for XER encoding or decoding.

Member Function Documentation

◆ EncodeReal()

static void EncodeReal ( Asn1XerEncoder  buffer,
double  value,
System.String  elemName 
)
static

This method encodes an ASN.1 real value using the XML encoding rules (XER).

Parameters
bufferEncode message buffer object
valueValue to be encoded.
elemNameElement name

References Asn1XmlXerEncoder.Copy(), Asn1XerEncoder.EncodeEndElement(), Asn1XmlXerEncoder.EncodeNamedValueElement(), Asn1XerEncoder.EncodeStartElement(), and Asn1Real.NormalizedRealValueToString().

Referenced by Asn1XerEncodeBuffer.EncodeRealValue(), and Asn1XerOutputStream.EncodeRealValue().