Delegate Decode
The delegate to decode an object from a buffer.
Namespace: Amqp.Types
Assembly: Amqp.Net.dll
Syntax
public delegate object Decode(ByteBuffer buffer, byte formatCode);Parameters
| Type | Name | Description | 
|---|---|---|
| ByteBuffer | buffer | The buffer to read the object. | 
| System.Byte | formatCode | The format code of the expected object type. | 
Returns
| Type | Description | 
|---|---|
| System.Object | An object decoded from the buffer. |