Encoder.Encode Method (Message, Int32, Int32, Byte[], Int32) |
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,
int offset
)
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. - offset
- Type: System.Int32
The index in the buffer at which encoding begins.
Return Value
Type:
UInt32The size of the entire encoded SBE message.
See Also