forwardDecode Method (Byte[], Int32, Int32, Int32, Message)   Table of ContentDecode Method (Byte[], Int32, Int32, Int32, Int32, Message)forward
Decoder.Decode Method (Byte[], Int32, Int32, Int32, Int32)
Decodes the given FAST stream chunk into the corresponding FIX Message.

Namespace:  FIXForge.NET.FIX.FAST
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
C#
public Message Decode(
	byte[] buffer,
	int offset,
	int count,
	out int chunkLength,
	out int templateId
)

Parameters

buffer
Type: System.Byte[]
An array of bytes that contains the source FAST stream chunk.
offset
Type: System.Int32
The zero-based byte offset in buffer at which to begin storing the data read from the current stream.
count
Type: System.Int32
The number of bytes to be processed.
chunkLength
Type: System.Int32
The length of the binary chunk that contains the encoded FIX message.
templateId
Type: System.Int32
FAST Template Identifier of the template that was used to decode the message.

Return Value

Type: Message
Decoded FIX message or null if the message cannot be decoded.
See Also