• Version 4.4.3
Show / Hide Table of Contents

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
MemoryPointer data

Pointer to the memory region that contains the SBE-encoded framing header and message content.

Returns
Type Description
IMessage

A new IMessage object that can read data from the given memory region.

WrapPreCreatedMessage(MemoryPointer)

Wraps a pre-created IMessage object around the given memory region.

Declaration
IMessage WrapPreCreatedMessage(MemoryPointer data)
Parameters
Type Name Description
MemoryPointer data

Pointer to the memory region that contains the SBE-encoded framing header and message content.

Returns
Type Description
IMessage

A pre-created IMessage object that can read SBE-encoded data from the given memory region.

In this article
Back to top Copyright © Onix Solutions.
Generated by DocFX