Decode VarBind collection sequence.

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.7.0.0 (0.7.0.0)

Syntax

C#
public override int decode(
	byte[] buffer,
	int offset
)
Visual Basic (Declaration)
Public Overrides Function decode ( _
	buffer As Byte(), _
	offset As Integer _
) As Integer
Visual C++
public:
virtual int decode(
	array<unsigned char>^ buffer, 
	int offset
) override

Parameters

buffer
Type: array< System..::.Byte >[]()[]
Buffer containing BER encoded VarBind collection
offset
Type: System..::.Int32
Offset to start decoding from

Return Value

New offset of the position following the VarBind collection

Exceptions

ExceptionCondition
SnmpSharpNet..::.SnmpExceptionThrown when parsed ASN.1 type is not a VarBind collection sequence type

See Also