Interface IDecoder
SBE decoder.
Namespace: OnixS .SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public interface IDecoder
Methods
Wrap(MemoryPointer)
Creates a new IMessage object and wraps it around the given memory region.
Declaration
IMessage Wrap(MemoryPointer data)
Parameters
Type | Name | Description |
---|---|---|
Memory |
data | Pointer to the memory region that contains the SBE-encoded framing header and message content. |
Returns
WrapPreCreatedMessage(MemoryPointer)
Wraps a pre-created IMessage object around the given memory region.
Declaration
IMessage WrapPreCreatedMessage(MemoryPointer data)
Parameters
Type | Name | Description |
---|---|---|
Memory |
data | Pointer to the memory region that contains the SBE-encoded framing header and message content. |