Interface IAmqpSerializable
Specifies that a type is serializable by the AMQP serializer.
Namespace: Amqp.Serialization
Assembly: Amqp.Net.dll
Syntax
public interface IAmqpSerializable
Properties
EncodeSize
Gets the encode size in bytes of an instance.
Declaration
int EncodeSize { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
Decode(ByteBuffer)
Decodes and initializes the serializable object from a buffer.
Declaration
void Decode(ByteBuffer buffer)
Parameters
| Type | Name | Description |
|---|---|---|
| ByteBuffer | buffer | The buffer to read. |
Encode(ByteBuffer)
Encodes the serializable object into a buffer.
Declaration
void Encode(ByteBuffer buffer)
Parameters
| Type | Name | Description |
|---|---|---|
| ByteBuffer | buffer |