Encoder.Encode Method (Message, Int32, Int32, Byte[]) |
Encodes the given FIX message into a SBE stream.
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 uint Encode(
Message fixMessage,
int templateId,
int version,
byte[] buffer
)
Parameters
- fixMessage
- Type: FIXForge.NET.FIX.Message
Source FIX message to be encoded. - templateId
- Type: System.Int32
SBE Template Identifier which uniquely describes the encoding/decoding rules. - version
- Type: System.Int32
Version of the template. - buffer
- Type: System.Byte[]
Supplied buffer that will contain the SBE stream chunk.
Return Value
Type:
UInt32The size of the entire encoded SBE message.
See Also