BaseFixReader

StockSharp.Fix.Native

Data reader base class.

Inherits: FixBase

Constructors

BaseFixReader(Stream, Encoding, bool)

Data reader base class.

stream
The stream from which data will be read.
encoding
Text encoding.
ownsStream
Whether to dispose the stream when this instance is disposed.

Methods

ReadByteAsync(CancellationToken) : ValueTask<byte>

Get byte.

cancellationToken
Cancellation token.

Returns: Byte.

ReadBytesAsync(Memory<byte>, CancellationToken) : ValueTask

Read Byte array value.

buffer
Buffer.
cancellationToken
Cancellation token.