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
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
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
Returns
- byte[]
Result buffer.
ReadChar()
Read char value.
public char ReadChar()
Returns
ReadChar(char)
Read char value.
public char ReadChar(char defaultValue)
Parameters
defaultValue
charThe default value.
Returns
ReadDecimalNullable()
Read Nullable<T> value.
public decimal? ReadDecimalNullable()
Returns
- decimal?
Nullable<T> value.
ReadInt()
Read int value.
public int ReadInt()
Returns
ReadIntNullable()
Read Nullable<T> value.
public int? ReadIntNullable()
Returns
- int?
Nullable<T> value.
ReadLong()
Read long value.
public long ReadLong()
Returns
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
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
ReadString(char[], out int)
Read string value.
public char[] ReadString(char[] buffer, out int length)
Parameters
Returns
ReadString(char[], string, out int)
Read string value.
public char[] ReadString(char[] buffer, string defaultValue, out int length)
Parameters
buffer
char[]string value.
defaultValue
stringThe default value.
length
intLength of result buffer.
Returns
ReadStringDelta(char[], out int)
Read string value.
public char[] ReadStringDelta(char[] buffer, out int length)
Parameters
Returns
ReadUInt()
Read uint value.
[CLSCompliant(false)]
public uint ReadUInt()
Returns
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
ReadULongNullable()
Read Nullable<T> value.
[CLSCompliant(false)]
public ulong? ReadULongNullable()
Returns
- ulong?
Nullable<T> value.