forwardDecode Method (Byte[], Int32, Int32, Int32, Int32)   Table of ContentDecodeUnsignedInteger Method forward
Decoder.Decode Method (Byte[], Int32, Int32, Int32, Int32, Message)
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.10.1.0
Syntax
C#
public Message Decode(
	byte[] buffer,
	int offset,
	int count,
	out int chunkLength,
	out int templateId,
	Message message
)

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.
message
Type: FIXForge.NET.FIX.Message
Message to reuse.

Return Value

Type: Message
The input FIX message modified in accordance to the input data, or null if the message cannot be decoded.
See Also