BaseFixReader

StockSharp.Fix.Native

Data reader base class.

继承自: FixBase

构造函数

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.

方法

ReadByteAsync(CancellationToken) : ValueTask<byte>

Get byte.

cancellationToken
Cancellation token.

返回值: Byte.

ReadBytesAsync(Memory<byte>, CancellationToken) : ValueTask

Read Byte array value.

buffer
Buffer.
cancellationToken
Cancellation token.