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

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.2.0 (0.5.2.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 >[]()[]
Source data buffer
offset
Type: System..::.Int32
Offset within the buffer to start parsing from

Return Value

Returns offset position after the sequence header

See Also