Decodes the ASN.1 buffer and sets the values in the AsnType object.
Namespace:
SnmpSharpNet
Assembly:
SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.7.1.0 (0.7.1.0)
Syntax
| C# |
|---|
public abstract int decode(
byte[] buffer,
int offset
) |
| Visual Basic (Declaration) |
|---|
Public MustOverride Function decode ( _
buffer As Byte(), _
offset As Integer _
) As Integer |
| Visual C++ |
|---|
public:
virtual int decode(
array<unsigned char>^ buffer,
int offset
) abstract |
Parameters
- buffer
- Type: array<
System..::.Byte
>[]()[]
The encoded data buffer
- offset
- Type: System..::.Int32
The offset of the first valid byte.
Return Value
New offset pointing to the byte after the last decoded position
See Also