Wrap BER encoded SNMP information contained in the parameter MutableByte class. Information in the parameter is prepended by the SNMP version field and wrapped in a sequence header. Derived classes call this method to finalize SNMP packet encoding.

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

Syntax

C#
public virtual void encode(
	MutableByte buffer
)
Visual Basic
Public Overridable Sub encode ( _
	buffer As MutableByte _
)
Visual C++
public:
virtual void encode(
	MutableByte^ buffer
)

Parameters

buffer
Type: SnmpSharpNet..::..MutableByte
Buffer containing BER encoded SNMP information

See Also