C# Class SnmpSharpNet.Sequence

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

Protected Properties

Свойство Type Description
_data byte[]

Méthodes publiques

Méthode Description
Clone ( ) : object

Clone sequence

Sequence ( ) : System

Constructor

Sequence ( byte value ) : System

Constructor.

Set ( byte value ) : void

Set sequence data

decode ( byte buffer, int offset ) : int

Decode sequence from the byte array. Returned offset value is advanced by the size of the sequence header.

encode ( MutableByte buffer ) : void

BER encode sequence

Method Details

Clone() public méthode

Clone sequence
public Clone ( ) : object
Résultat object

Sequence() public méthode

Constructor
public Sequence ( ) : System
Résultat System

Sequence() public méthode

Constructor.
public Sequence ( byte value ) : System
value byte Sequence data
Résultat System

Set() public méthode

Set sequence data
public Set ( byte value ) : void
value byte Byte array containing BER encoded sequence data
Résultat void

decode() public méthode

Decode sequence from the byte array. Returned offset value is advanced by the size of the sequence header.
public decode ( byte buffer, int offset ) : int
buffer byte Source data buffer
offset int Offset within the buffer to start parsing from
Résultat int

encode() public méthode

BER encode sequence
public encode ( MutableByte buffer ) : void
buffer MutableByte Target buffer
Résultat void

Property Details

_data protected_oe property

data buffer
protected byte[] _data
Résultat byte[]