Base:
7 references to ReadAsync
Microsoft.AspNetCore.WebUtilities (2)
FileBufferingReadStream.cs (2)
329return ReadAsync(buffer.AsMemory(offset, count), cancellationToken).AsTask(); 448int bytesRead = await ReadAsync(buffer, cancellationToken);
Microsoft.AspNetCore.WebUtilities.Tests (5)
FileBufferingReadStreamTests.cs (5)
447await stream.ReadAsync(new byte[1024 * 1024]); 450await stream.ReadAsync(new byte[4]); 519await stream.ReadAsync(buffer); 593var read1 = await stream.ReadAsync(buffer); 596var read2 = await stream.ReadAsync(buffer2);