Decodes the given FAST stream chunk into the corresponding FIX Message.

Namespace: FIXForge.NET.FIX.FAST
Assembly: FIXForge.NET.FIX.Engine-net-3.5 (in FIXForge.NET.FIX.Engine-net-3.5.dll) Version: 2.79.1.0

Syntax

C#
public Message Decode(
	byte[] buffer,
	int offset,
	int count,
	out int chunkLength,
	out int templateId
)
Visual Basic
Public Function Decode ( _
	buffer As Byte(), _
	offset As Integer, _
	count As Integer, _
	<OutAttribute> ByRef chunkLength As Integer, _
	<OutAttribute> ByRef templateId As Integer _
) As Message
Visual C++
public:
Message^ Decode(
	array<unsigned char>^ buffer, 
	int offset, 
	int count, 
	[OutAttribute] int% chunkLength, 
	[OutAttribute] int% templateId
)

Parameters

buffer
Type: array<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

Decoded FIX messsage or null if the message cannot be decoded.

See Also