Base:
9 references to Length
System.Net.Http (9)
System\Net\Http\HttpContent.cs (9)
84
return new MemoryStream(_bufferedContent.GetSingleBuffer(), 0, (int)_bufferedContent.
Length
, writable: false);
105
if (stream.
Length
== 0)
116
Debug.Assert(firstBuffer.Length >= 4 || firstBuffer.Length == stream.
Length
);
167
if (firstBuffer.Length == stream.
Length
)
173
byte[] buffer = ArrayPool<byte>.Shared.Rent((int)stream.
Length
);
176
string result = encoding.GetString(buffer.AsSpan(0, (int)stream.
Length
)[bomLength..]);
318
stream.Write(_bufferedContent.GetSingleBuffer(), 0, (int)_bufferedContent.
Length
);
370
return stream.WriteAsync(_bufferedContent.GetSingleBuffer().AsMemory(0, (int)_bufferedContent.
Length
), cancellationToken);
568
return _bufferedContent.
Length
;