Decoder.Decode Method (Int32, Int32, UInt32, Byte[], UInt32) |
Decodes the given SBE stream chunk into the corresponding FIX Message.
Namespace:
FIXForge.NET.FIX.SBE
Assembly:
FIXForge.NET.FIX.Engine-net-4.8_x64 (in FIXForge.NET.FIX.Engine-net-4.8_x64.dll) Version: 4.12.0.0
Syntax public Message Decode(
int templateId,
int version,
uint rootBlockLength,
byte[] buffer,
out uint numberOfDecodedBytes
)
Parameters
- templateId
- Type: System.Int32
SBE Template Identifier which uniquely describes the encoding/decoding rules. - version
- Type: System.Int32
Version of the template. - rootBlockLength
- Type: System.UInt32
Length of the root block. This value should be extracted from the message preamble, or from other source. - buffer
- Type: System.Byte[]
Supplied buffer that contains the SBE stream chunk. - numberOfDecodedBytes
- Type: System.UInt32
Number of bytes that contained the encoded FIX Message.
Return Value
Type:
MessageThe decoded FIX message.
Exceptions See Also