BaseFixReader
StockSharp.Fix.Native
データリーダーベースクラス。
継承元: FixBase
コンストラクター
BaseFixReader
protected BaseFixReader(Stream stream, Encoding encoding, bool ownsStream)
baseFixReader = BaseFixReader(stream, encoding, ownsStream)
データリーダーベースクラス。
- stream
- どのデータが読み込まれるストリーム。
- encoding
- テキストエンコーディング。
- ownsStream
- このインスタンスがdisposed時にストリームをdisposeするかどうか。
メソッド
ReadByteAsync
public ValueTask<byte> ReadByteAsync(CancellationToken cancellationToken)
result = baseFixReader.ReadByteAsync(cancellationToken)
バイトを取得します。
- cancellationToken
- キャンセルトークン。
戻り値: ツイート
ReadBytesAsync
public ValueTask ReadBytesAsync(Memory<byte> buffer, CancellationToken cancellationToken)
result = baseFixReader.ReadBytesAsync(buffer, cancellationToken)
Byte配列値を読みます。
- buffer
- バッファ。
- cancellationToken
- キャンセルトークン。