C# Class SnmpSharpNet.Null

Inheritance: AsnType, ICloneable
Mostrar archivo Open project: griffina/SnmpSharpNet Class Usage Examples

Public Methods

Method 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 method

Clone current object
public Clone ( ) : Object
return Object

Null() public method

Constructor
public Null ( ) : System
return System

Null() public method

Constructor
public Null ( Null second ) : System
second Null Irrelevant. Nothing to copy
return System

ToString() public method

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

decode() public method

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. ///
return int

encode() public method

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