3 references to GetSingleBuffer
System.Net.Http (3)
System\Net\Http\HttpContent.cs (3)
84
return new MemoryStream(_bufferedContent.
GetSingleBuffer
(), 0, (int)_bufferedContent.Length, writable: false);
318
stream.Write(_bufferedContent.
GetSingleBuffer
(), 0, (int)_bufferedContent.Length);
370
return stream.WriteAsync(_bufferedContent.
GetSingleBuffer
().AsMemory(0, (int)_bufferedContent.Length), cancellationToken);