forwardFIXForge.NET.FIX.FAST   Table of ContentDecoder Constructor forward
Decoder Class
Performs FAST to FIX decoding.
Inheritance Hierarchy
System.Object
  FIXForge.NET.FIX.FAST.Decoder

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.12.0.0
Syntax
C#
public class Decoder : IDisposable

The Decoder type exposes the following members.

Constructors
  NameDescription
Public methodDecoder(String, Boolean, InputDataTraits)
Creates a FAST to FIX Decoder at dialect-independent mode.
Public methodDecoder(String, Dialect, Boolean, InputDataTraits)
Creates a FAST to FIX Decoder.
Public methodDecoder(String, ProtocolVersion, Boolean, InputDataTraits)
Creates a FAST to FIX Decoder.
Public methodDecoder(ProtocolVersion, String, Boolean, InputDataTraits)
Creates a FAST to FIX Decoder.
Public methodDecoder(ProtocolVersion, String, String, Boolean, InputDataTraits)
Creates a FAST to FIX Decoder.
Top
Properties
  NameDescription
Public propertyDataTraits
Input data traits provided during construction of the decoder.
Public propertyDecodeEachMessageIndependently
Option to reset the previous values dictionaries before decoding a new FAST stream chunk.
Public propertyDialect
Returns FIX Dialect, generated from templates file.
Public propertyIsDisposed
Returns true if Decoder object is disposed, false otherwise.
Public propertyMaximumNumberOfRepeatingGroupEntries
Maximum number of entries in the repeating group, which generated by FAST decoder.

This parameter is used during decoding and is useful to detect broken data, which, in particular cases, can need to allocate unexpectedly huge number of entries (for instance - billions of entries, while normally there are just a few ones). This situation results in memory exhausting and (often) significantly decrease overall system performance.

To prevent memory exhausting and negative consequences of that, this property should be configured to the value, which is greater then maximum possible number of entries in valid input data, but less then int.MaxValue (default one).

In a lot of real cases value of 10000 is good enough to detect broken data without memory overloading.

Top
Methods
  NameDescription
Public methodDecode(Byte[])
Decodes the given FAST stream chunk into the corresponding FIX Message.
Public methodDecode(Byte[], Message)
Decodes the given FAST stream chunk into the corresponding FIX Message.
Public methodDecode(Byte[], Int32, Int32)
Decodes the given FAST stream chunk into the corresponding FIX Message.
Public methodDecode(Byte[], Int32, Int32, Message)
Decodes the given FAST stream chunk into the corresponding FIX Message.
Public methodDecode(Byte[], Int32, Int32, Int32)
Decodes the given FAST stream chunk into the corresponding FIX Message.
Public methodDecode(Byte[], Int32, Int32, Int32, Message)
Decodes the given FAST stream chunk into the corresponding FIX Message.
Public methodDecode(Byte[], Int32, Int32, Int32, Int32)
Decodes the given FAST stream chunk into the corresponding FIX Message.
Public methodDecode(Byte[], Int32, Int32, Int32, Int32, Message)
Decodes the given FAST stream chunk into the corresponding FIX Message.
Public methodStatic memberDecodeUnsignedInteger
Decodes the given FAST stream chunk into the corresponding unsigned integer value.
Public methodDispose()
Explicitly releases resource.
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the Decoder and optionally releases the managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Perform cleanup operations on unmanaged resources held by the current Decoder object before the object is destroyed.
(Overrides Object.Finalize().)
Public methodStatic memberGenerateFixDialect(String, String)
Generates FIX dialect XML.
Public methodStatic memberGenerateFixDialect(ProtocolVersion, String, String)
Generates FIX dialect XML.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Resets the state of the previous values dictionaries (sets the state of the previous values to undefined).
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberTryDecodeUnsignedInteger
Tries to decode the given FAST stream chunk into the corresponding unsigned integer value.
Top
See Also