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