Skip to content

IBinaryReader.ReadAsync Method

Definition

Reads exactly count bytes from the source.

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

Parameters

Name Type Description
count Int32 The number of bytes to read.

Returns

ValueTask<Byte[]>

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