Decode ASN.1 encoded IP address value.

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

Syntax

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

Parameters

buffer
array< Byte >[]()[]
BER encoded data buffer
offset
Int32
Offset in the array to start parsing from

Return Value

[Missing <returns> documentation for M:SnmpSharpNet.IpAddress.decode(System.Byte[],System.Int32)]

Exceptions

ExceptionCondition
System..::.OverflowExceptionParsed data length is not 4 bytes long
SnmpSharpNet..::.SnmpExceptionParsed data is not in IpAddress format

See Also