Table of Contents

Class BinaryFixReader

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

The reader of data recorded in the binary FIX protocol format (FAST).

public class BinaryFixReader : BaseFixReader, IFixReader
Inheritance
BinaryFixReader
Implements
Inherited Members
Extension Methods

Constructors

BinaryFixReader(Stream, Encoding)

Initializes a new instance of the BinaryFixReader.

public BinaryFixReader(Stream stream, Encoding encoding)

Parameters

stream Stream

The stream.

encoding Encoding

Text encoding.

Methods

ReadByteVector(byte*)

Read bytes array.

[CLSCompliant(false)]
public uint ReadByteVector(byte* bytes)

Parameters

bytes byte*

Bytes array.

Returns

uint

The number of bytes read.

ReadByteVector(byte[], out uint)

Read bytes array.

[CLSCompliant(false)]
public byte[] ReadByteVector(byte[] bytes, out uint length)

Parameters

bytes byte[]

Bytes array.

length uint

The number of bytes read.

Returns

byte[]

Result buffer.

ReadByteVectorNullable(byte*)

Read bytes array.

[CLSCompliant(false)]
public uint ReadByteVectorNullable(byte* bytes)

Parameters

bytes byte*

Bytes array.

Returns

uint

The number of bytes read.

ReadByteVectorNullable(byte[], out uint)

Read bytes array.

[CLSCompliant(false)]
public byte[] ReadByteVectorNullable(byte[] bytes, out uint length)

Parameters

bytes byte[]

Bytes array.

length uint

The number of bytes read.

Returns

byte[]

Result buffer.

ReadChar()

Read char value.

public char ReadChar()

Returns

char

char value.

ReadChar(char)

Read char value.

public char ReadChar(char defaultValue)

Parameters

defaultValue char

The default value.

Returns

char

char value.

ReadDecimalNullable()

Read Nullable<T> value.

public decimal? ReadDecimalNullable()

Returns

decimal?

Nullable<T> value.

ReadInt()

Read int value.

public int ReadInt()

Returns

int

int value.

ReadIntNullable()

Read Nullable<T> value.

public int? ReadIntNullable()

Returns

int?

Nullable<T> value.

ReadLong()

Read long value.

public long ReadLong()

Returns

long

long value.

ReadLongNullable()

Read Nullable<T> value.

public long? ReadLongNullable()

Returns

long?

Nullable<T> value.

ReadString(char*)

Read string value.

[CLSCompliant(false)]
public int ReadString(char* buffer)

Parameters

buffer char*

string value.

Returns

int

Length of result buffer.

ReadString(char*, string)

Read string value as a constant value.

[CLSCompliant(false)]
public void ReadString(char* buffer, string constValue)

Parameters

buffer char*

string value.

constValue string

The constant value.

ReadString(char[], out int)

Read string value.

public char[] ReadString(char[] buffer, out int length)

Parameters

buffer char[]

string value.

length int

Length of result buffer.

Returns

char[]

char value.

ReadString(char[], string, out int)

Read string value.

public char[] ReadString(char[] buffer, string defaultValue, out int length)

Parameters

buffer char[]

string value.

defaultValue string

The default value.

length int

Length of result buffer.

Returns

char[]

char value.

ReadStringDelta(char[], out int)

Read string value.

public char[] ReadStringDelta(char[] buffer, out int length)

Parameters

buffer char[]

string value.

length int

Length of result buffer.

Returns

char[]

string value.

ReadUInt()

Read uint value.

[CLSCompliant(false)]
public uint ReadUInt()

Returns

uint

uint value.

ReadUIntNullable()

Read Nullable<T> value.

[CLSCompliant(false)]
public uint? ReadUIntNullable()

Returns

uint?

Nullable<T> value.

ReadULong()

Read ulong value.

[CLSCompliant(false)]
public ulong ReadULong()

Returns

ulong

ulong value.

ReadULongNullable()

Read Nullable<T> value.

[CLSCompliant(false)]
public ulong? ReadULongNullable()

Returns

ulong?

Nullable<T> value.