Table of Contents

Interface IFixReader

Namespace
StockSharp.Fix.Native
Assembly
StockSharp.Fix.Core.dll

The interface describing the reader of data recorded in the FIX protocol format.

public interface IFixReader
Extension Methods

Properties

BytesCount

The number of bytes read.

int BytesCount { get; set; }

Property Value

int

CheckSum

Check sum.

uint CheckSum { get; set; }

Property Value

uint

CheckSumDisabled

CheckSum disabled.

bool CheckSumDisabled { get; set; }

Property Value

bool

Encoding

Text encoding.

Encoding Encoding { get; }

Property Value

Encoding

IsDump

Gets a value indicating whether the log incoming data required.

bool IsDump { get; set; }

Property Value

bool

IsValueRead

Whether the tag value was read.

bool IsValueRead { get; }

Property Value

bool

LastTag

Last read tag.

FixTags LastTag { get; }

Property Value

FixTags

Stream

The stream.

Stream Stream { get; }

Property Value

Stream

Methods

ClearState()

Clear state.

void ClearState()

FlushDump()

Get data log.

string FlushDump()

Returns

string

Data log.

ReadBool()

Read bool value.

bool ReadBool()

Returns

bool

bool value.

ReadBytes(byte[], int, int)

Read byte array value.

void ReadBytes(byte[] buffer, int index, int count)

Parameters

buffer byte[]

Buffer.

index int

Starting index.

count int

Count of bytes should be read.

ReadChar()

Read char value.

char ReadChar()

Returns

char

char value.

ReadDateTime(FastDateTimeParser)

Read DateTime value.

DateTime ReadDateTime(FastDateTimeParser parser)

Parameters

parser FastDateTimeParser

Time parser. Required if data will be transferred as string.

Returns

DateTime

DateTime value.

ReadDecimal()

Read decimal value.

decimal ReadDecimal()

Returns

decimal

decimal value.

ReadInt()

Read int value.

int ReadInt()

Returns

int

int value.

ReadLong()

Read long value.

long ReadLong()

Returns

long

long value.

ReadString()

Read string value.

string ReadString()

Returns

string

string value.

ReadTag()

To read the following tag.

FixTags ReadTag()

Returns

FixTags

The next tag. The -1 indicates the end of data.

ReadTimeSpan(FastTimeSpanParser)

Read TimeSpan value.

TimeSpan ReadTimeSpan(FastTimeSpanParser parser)

Parameters

parser FastTimeSpanParser

Time parser. Required if data will be transferred as string.

Returns

TimeSpan

TimeSpan value.

SkipValue()

Skip value.

void SkipValue()