C# Class SnmpSharpNet.Null

Inheritance: AsnType, ICloneable
Afficher le fichier Open project: griffina/SnmpSharpNet Class Usage Examples

Méthodes publiques

Méthode Description
Clone ( ) : Object

Clone current object

Null ( ) : System

Constructor

Null ( Null second ) : System

Constructor

ToString ( ) : System.String

Returns a string representation of the SNMP NULL object

decode ( byte buffer, int offset ) : int

Decode null value from BER encoded buffer.

encode ( MutableByte buffer ) : void

ASN.1 encode Null value

Method Details

Clone() public méthode

Clone current object
public Clone ( ) : Object
Résultat Object

Null() public méthode

Constructor
public Null ( ) : System
Résultat System

Null() public méthode

Constructor
public Null ( Null second ) : System
second Null Irrelevant. Nothing to copy
Résultat System

ToString() public méthode

Returns a string representation of the SNMP NULL object
public ToString ( ) : System.String
Résultat System.String

decode() public méthode

Decode null value from BER encoded buffer.
Thrown when parsed ASN.1 type is not null Thrown when length of null value is greater then 0 bytes
public decode ( byte buffer, int offset ) : int
buffer byte BER encoded buffer
offset int Offset within the buffer from where to start decoding. On return, /// this argument contains the offset immediately following the decoded value. ///
Résultat int

encode() public méthode

ASN.1 encode Null value
public encode ( MutableByte buffer ) : void
buffer MutableByte class to the end of which encoded data is appended ///
Résultat void