public static async ValueTask<byte> ToByteArrayAsync(Stream stream)
Returns:
ValueTask<byte>

Parameters

stream Stream
In this article