• Version 4.4.3
Show / Hide Table of Contents

Interface IMessage

A generic SBE message with tag-based field API.

Inherited Members
IFieldSet.Contains(int)
IFieldSet.this[int]
IFieldSet.Get(int)
IFieldSet.GetBytes(int)
IFieldSet.GetSignedByte(int)
IFieldSet.TryGetSignedByte(int)
IFieldSet.GetByte(int)
IFieldSet.TryGetByte(int)
IFieldSet.GetShort(int)
IFieldSet.TryGetShort(int)
IFieldSet.GetUnsignedShort(int)
IFieldSet.TryGetUnsignedShort(int)
IFieldSet.GetInteger(int)
IFieldSet.TryGetInteger(int)
IFieldSet.GetUnsignedInteger(int)
IFieldSet.TryGetUnsignedInteger(int)
IFieldSet.GetLong(int)
IFieldSet.TryGetLong(int)
IFieldSet.GetUnsignedLong(int)
IFieldSet.TryGetUnsignedLong(int)
IFieldSet.GetString(int)
IFieldSet.GetChar(int)
IFieldSet.TryGetChar(int)
IFieldSet.GetBoolean(int)
IFieldSet.GetEnum<T>(int)
IFieldSet.GetDecimal(int)
IFieldSet.TryGetDecimal(int)
IFieldSet.GetMaturityMonthYear(int)
IFieldSet.GetTimestamp(int)
IFieldSet.GetComposite<T>(int)
IFieldSet.GetComposite(int)
IFieldSet.GetVariableLengthField(int)
IFieldSet.GetGroup(int)
IFieldSet.SetToNull(int)
IFieldSet.SetBytes(int, ReadOnlySpan<byte>)
IFieldSet.SetSignedByte(int, sbyte)
IFieldSet.SetSignedByte(int, int)
IFieldSet.SetByte(int, byte)
IFieldSet.SetByte(int, int)
IFieldSet.SetShort(int, short)
IFieldSet.SetShort(int, int)
IFieldSet.SetUnsignedShort(int, ushort)
IFieldSet.SetUnsignedShort(int, int)
IFieldSet.SetInteger(int, int)
IFieldSet.SetUnsignedInteger(int, uint)
IFieldSet.SetLong(int, long)
IFieldSet.SetUnsignedLong(int, ulong)
IFieldSet.SetString(int, string)
IFieldSet.SetChar(int, char)
IFieldSet.SetBoolean(int, bool)
IFieldSet.SetEnum<T>(int, T)
IFieldSet.SetDecimal(int, decimal)
IFieldSet.SetGroup(int, int)
IFieldSet.ToString(char)
IFieldSet.ToFixString()
IDisposable.Dispose()
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public interface IMessage : IFieldSet, ICloneable, IDisposable

Properties

BlockLength

Declaration
ushort BlockLength { get; }
Property Value
Type Description
ushort

The root block length.

Remarks

The root block length is the space reserved for the root level of the message, not counting any repeating groups or variable-length fields. The block length only represents message body fields; it does not include the length of the message header, which is a fixed size.

Buffer

Declaration
Span<byte> Buffer { get; }
Property Value
Type Description
Span<byte>

The SBE-encoded memory region.

MessageLength

Declaration
ushort MessageLength { get; }
Property Value
Type Description
ushort

The length of the entire message, including the binary header, in bytes.

SchemaID

Declaration
ushort SchemaID { get; }
Property Value
Type Description
ushort

The identifier of the SBE Schema in which the message is defined.

SchemaIdUsedForDecode

Declaration
ushort SchemaIdUsedForDecode { get; }
Property Value
Type Description
ushort

The identifier of the SBE Schema that was used to decode this message.

SchemaVersion

Declaration
ushort SchemaVersion { get; }
Property Value
Type Description
ushort

The version of the SBE Schema in which the message is defined.

SchemaVersionUsedForDecode

Declaration
ushort SchemaVersionUsedForDecode { get; }
Property Value
Type Description
ushort

The version of the SBE Schema that was used to decode this message.

SemanticType

Declaration
string SemanticType { get; }
Property Value
Type Description
string

The message semantic type.

TemplateID

Declaration
ushort TemplateID { get; }
Property Value
Type Description
ushort

The message template identifier.

Methods

Clone()

Clones the message object and the underlying memory region.

WARNING: This method pins the newly created data region, so it is slow.

Declaration
IMessage Clone()
Returns
Type Description
IMessage

The cloned object.

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