Encode Pdu class to BER byte buffer
Namespace:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
| C# | Visual Basic | Visual C++ |
public override void encode( MutableByte buffer )
Public Overrides Sub encode ( _ buffer As MutableByte _ )
public: virtual void encode( MutableByte^ buffer ) override
Parameters
- buffer
- MutableByte
The buffer to write the encoded information.
Remarks
Encodes the protocol data unit using the passed encoder and stores
the results in the passed buffer. An exception is thrown if an
error occurs with the encoding of the information.