Interface IMessage
Represents the message.
Inherited Members
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public interface IMessage : IFieldSet, ICloneable
Properties
BlockLength
Gets message block length.
Declaration
ushort BlockLength { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Buffer
Message buffer.
Declaration
Span<byte> Buffer { get; }
Property Value
Type | Description |
---|---|
Span<System.Byte> |
MsgSize
Gets message size.
Declaration
ushort MsgSize { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
SchemaID
Gets schema id which is used to encode this message.
Declaration
ushort SchemaID { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
SchemaIdUsedForDecode
Gets schema id which is used to decode this message.
Declaration
ushort SchemaIdUsedForDecode { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
SchemaVersionUsedForDecode
Gets schema version which is used to decode this message.
Declaration
ushort SchemaVersionUsedForDecode { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
SemanticType
Gets message type.
Declaration
string SemanticType { get; }
Property Value
Type | Description |
---|---|
System.String |
TemplateID
Gets message template id.
Declaration
ushort TemplateID { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Version
Gets schema version.
Declaration
ushort Version { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Methods
Clone()
Clone message object with underlying data.
Declaration
IMessage Clone()
Returns
Type | Description |
---|---|
IMessage | Cloned object. |