BaseFixWriter

StockSharp.Fix.Native

The base class of the recorder.

Erbt von: FixBase

Konstruktoren

BaseFixWriter(Stream, Encoding, bool)

The base class of the recorder.

stream
The stream.
encoding
Text encoding.
ownsStream
Whether to dispose the stream when this instance is disposed.

Methoden

FlushAsync(CancellationToken) : Task

Flushes the stream asynchronously.

cancellationToken
CancellationToken

Rückgabe: Task

WriteByteAsync(byte, CancellationToken) : ValueTask

To record the Byte value.

value
Byte value.
cancellationToken
Cancellation token.
WriteBytesAsync(ReadOnlyMemory<byte>, CancellationToken) : ValueTask

To record an array of bytes asynchronously.

buffer
Bytes buffer.
cancellationToken
Cancellation token.