C# Класс SnmpSharpNet.Null

Наследование: AsnType, ICloneable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

Clone() публичный Метод

Clone current object
public Clone ( ) : Object
Результат Object

Null() публичный Метод

Constructor
public Null ( ) : System
Результат System

Null() публичный Метод

Constructor
public Null ( Null second ) : System
second Null Irrelevant. Nothing to copy
Результат System

ToString() публичный Метод

Returns a string representation of the SNMP NULL object
public ToString ( ) : System.String
Результат System.String

decode() публичный Метод

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. ///
Результат int

encode() публичный Метод

ASN.1 encode Null value
public encode ( MutableByte buffer ) : void
buffer MutableByte class to the end of which encoded data is appended ///
Результат void