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