Delegate Encode
The delegate to encode an object into a buffer.
Namespace: Amqp.Types
Assembly: Amqp.Net.dll
Syntax
public delegate void Encode(ByteBuffer buffer, object value, bool smallEncoding);
Parameters
| Type | Name | Description |
|---|---|---|
| ByteBuffer | buffer | The buffer to write the encoded object. |
| System.Object | value | The object to be written. |
| System.Boolean | smallEncoding | If true, use compact encoding when possible. |