Asn1XerOpenType Class Reference

Inheritance diagram for Asn1XerOpenType:
Asn1OpenType Asn1OctetString Asn1Type Asn1TypeIF

List of all members.

Public Member Functions

 Asn1XerOpenType (byte[] data, int offset, int nbytes)
 Asn1XerOpenType (byte[] data)
 Asn1XerOpenType ()

Detailed Description

This is a container class for holding the an ASN.1 open type value. This is a special version of the class that is only generated for the XER encoding rules. The data held in objects of this type should be UTF-8 encoded XML


Constructor & Destructor Documentation

Asn1XerOpenType (  ) 

This constructor creates an empty type that can be used in a Decode method call to receive an encoded value.

Asn1XerOpenType ( byte[]  data  ) 

This constructor initializes an open type from the given byte array. The array is assumed to contain a previously encoded message component. The data is assumed to be UTF-8 encoded XML. It should represent an XML encoding of the actual type.

Parameters:
data Byte array containing a previously encoded value.
Asn1XerOpenType ( byte[]  data,
int  offset,
int  nbytes 
)

This constructor initializes the open type from a portion of the given byte array. A new byte array is created starting at the given offset and consisting of the given number of bytes. The data is assumed to be UTF-8 encoded XML. It should represent an XML encoding of the actual type.

Parameters:
data Byte array containing a previously encoded value.
offset The byte offset in array at which to begin.
nbytes Number of bytes to copy from offset