forwardMessage Constructor (ArraySegment(Byte), Dialect, MessageParsingFlags, Int32)   Table of ContentMessage Constructor (Byte[], Dialect, MessageParsingFlags, Int32)forward
Message Constructor (ArraySegment<Byte>, ProtocolVersion, MessageParsingFlags, Int32)
Parses the raw FIX message byte array and creates the corresponding class instance.

Namespace:  FIXForge.NET.FIX
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(
	ArraySegment<byte> rawMessage,
	ProtocolVersion version,
	MessageParsingFlags parsingFlag,
	int expectedMessageSize
)

Parameters

rawMessage
Type: System.ArraySegment<Byte>
the raw FIX message byte array (in the <tag>=<value> format)
version
Type: FIXForge.NET.FIX.ProtocolVersion
FIX version
parsingFlag
Type: FIXForge.NET.FIX.MessageParsingFlags
message validation flags
expectedMessageSize
Type: System.Int32
An expected size of the FIX message. The parameter is used as a hint for the optimization of the manipulation (parsing, setting, etc.) of large FIX messages with a lot of repeating groups. The large value can increase the memory consumption by the Message object, so try to increase the value only in case of a latency degradation of the large FIX messages manipulation.
See Also