Esempio n. 1
0
 public ValueTask ReadAsync(Memory <byte> output, CancellationToken token = default)
 => StreamExtensions.ReadBlockAsync(input, output, token);
Esempio n. 2
0
 ValueTask <MemoryOwner <byte> > IAsyncBinaryReader.ReadAsync(LengthFormat lengthFormat, MemoryAllocator <byte>?allocator, CancellationToken token)
 => StreamExtensions.ReadBlockAsync(stream, lengthFormat, buffer, allocator, token);