Table of Contents

Class FixBase

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

Data reader/writer base class.

public abstract class FixBase
Inheritance
FixBase
Derived
Inherited Members
Extension Methods

Remarks

Initialize FixBase.

Constructors

FixBase(Stream, Encoding)

Data reader/writer base class.

protected FixBase(Stream stream, Encoding encoding)

Parameters

stream Stream

The stream.

encoding Encoding

Text encoding.

Remarks

Initialize FixBase.

Properties

BytesCount

Total read/write bytes.

public int BytesCount { get; set; }

Property Value

int

CheckSum

Check sum.

public uint CheckSum { get; set; }

Property Value

uint

CheckSumDisabled

CheckSum disabled.

public bool CheckSumDisabled { get; set; }

Property Value

bool

Encoding

Text encoding.

public Encoding Encoding { get; }

Property Value

Encoding

IsDump

Gets a value indicating whether the log incoming data required.

public bool IsDump { get; set; }

Property Value

bool

IsValueRead

Whether the tag value was read.

public bool IsValueRead { get; protected set; }

Property Value

bool

LastTag

Last tag.

public FixTags LastTag { get; protected set; }

Property Value

FixTags

MaxBytes

Gets and sets the maximum allowed bytes per read/write operation.

public int MaxBytes { get; set; }

Property Value

int

Stream

The stream.

public Stream Stream { get; }

Property Value

Stream

Methods

CalcCheckSum(byte)

Calculate the check sum.

protected void CalcCheckSum(byte value)

Parameters

value byte

New byte.

CalcCheckSum(Span<byte>)

Calculate the check sum.

protected void CalcCheckSum(Span<byte> value)

Parameters

value Span<byte>

Buffer.

ClearState()

Clear state.

public virtual void ClearState()

Dump(byte)

Add to the data log a new byte.

protected void Dump(byte value)

Parameters

value byte

New byte.

Dump(Span<byte>)

Add to the data log a news byte.

protected void Dump(Span<byte> value)

Parameters

value Span<byte>

Buffer.

Dump<T>(T)

Add to the data log a new string.

protected void Dump<T>(T value)

Parameters

value T

Value.

Type Parameters

T

Type of value.

FlushDump()

Get data log.

public string FlushDump()

Returns

string

Data log.