Skip to content

IBinaryReader.ReadAsync Method ​

Definition ​

Reads exactly count bytes from the source.

c#
public abstract ValueTask<Byte[]> ReadAsync(int count);

Parameters ​

NameTypeDescription
countInt32The number of bytes to read.

Returns ​

ValueTask<Byte[]>

A ValueTask<TResult> yielding the bytes that were read.