4 writes to Buffer
Microsoft.AspNetCore.Http.Connections.Tests (4)
HttpConnectionDispatcherTests.cs (4)
2963
services.AddSingleton(new MessageWrapper() {
Buffer
= new ReadOnlySequence<byte>(new byte[] { 1, 2, 3 }) });
2986
services.AddSingleton(new MessageWrapper() {
Buffer
= new ReadOnlySequence<byte>(new byte[] { 4, 5, 6 }) });
3018
return new MessageWrapper() {
Buffer
= new ReadOnlySequence<byte>(new byte[] { (byte)(iteration + 1), (byte)(iteration + 2), (byte)(iteration + 3) }) };
3073
return new MessageWrapper() {
Buffer
= new ReadOnlySequence<byte>(new byte[] { (byte)(iteration + 1), (byte)(iteration + 2), (byte)(iteration + 3) }) };
1 reference to Buffer
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
3920
await connection.Transport.Output.WriteAsync(message.
Buffer
.ToArray());