Used to decode the integer value from the BER buffer. The passed encoder is used to decode the BER encoded information and the integer value is stored in the internal object.

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

C#
public override int decode(
	byte[] buffer,
	int offset
)
Visual Basic
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 holding BER encoded data
offset
Type: System..::..Int32
Offset in the buffer to start parsing from

Return Value

Buffer position after the decoded value

See Also