C# Class Novell.Directory.Ldap.Asn1.Asn1Integer

Inheritance: Asn1Numeric
Show file Open project: EventStore/csharp-ldap Class Usage Examples

Public Properties

Property Type Description
ID Asn1Identifier

Public Methods

Method Description
Asn1Integer ( int content ) : System

Call this constructor to construct an Asn1Integer object from an integer value.

Asn1Integer ( long content ) : System

Call this constructor to construct an Asn1Integer object from a long value.

ToString ( ) : System.String

Returns a String representation of this Asn1Integer object.

encode ( Asn1Encoder enc, System out_Renamed ) : void

Call this method to encode the current instance into the specified output stream using the specified encoder object.

Private Methods

Method Description
Asn1Integer ( Asn1Decoder dec, System in_Renamed, int len ) : System

Method Details

Asn1Integer() public method

Call this constructor to construct an Asn1Integer object from an integer value.
public Asn1Integer ( int content ) : System
content int The integer value to be contained in the /// this Asn1Integer object ///
return System

Asn1Integer() public method

Call this constructor to construct an Asn1Integer object from a long value.
public Asn1Integer ( long content ) : System
content long The long value to be contained in the /// this Asn1Integer object ///
return System

ToString() public method

Returns a String representation of this Asn1Integer object.
public ToString ( ) : System.String
return System.String

encode() public method

Call this method to encode the current instance into the specified output stream using the specified encoder object.
public encode ( Asn1Encoder enc, System out_Renamed ) : void
enc Asn1Encoder Encoder object to use when encoding self. /// ///
out_Renamed System
return void

Property Details

ID public static property

ID is added for Optimization. ID needs only be one Value for every instance, thus we create it only once.
public static Asn1Identifier,Novell.Directory.Ldap.Asn1 ID
return Asn1Identifier