4 references to ReadChunkFromConnectionBuffer
System.Net.Http (4)
System\Net\Http\SocketsHttpHandler\ChunkedEncodingReadStream.cs (4)
263
if (
ReadChunkFromConnectionBuffer
(int.MaxValue, ctr) is not ReadOnlyMemory<byte> bytesRead || bytesRead.Length == 0)
291
return
ReadChunkFromConnectionBuffer
(maxBytesToRead: 0, cancellationRegistration: default).HasValue;
300
if (
ReadChunkFromConnectionBuffer
(buffer.Length, cancellationRegistration) is not ReadOnlyMemory<byte> bytesRead || bytesRead.Length == 0)
482
if (
ReadChunkFromConnectionBuffer
(int.MaxValue, ctr) is not ReadOnlyMemory<byte> bytesRead || bytesRead.Length == 0)