3 references to CreateSegments
Microsoft.AspNetCore.SignalR.Microbenchmarks (3)
HandshakeProtocolBenchmark.cs (1)
34
_requestMessage5 = ReadOnlySequenceFactory.
CreateSegments
(Encoding.UTF8.GetBytes("{\"protocol\":\"dummy\",\"ver"), Encoding.UTF8.GetBytes("sion\":1}\u001e"));
src\Shared\Buffers.Testing\ReadOnlySequenceFactory.cs (2)
81
return
CreateSegments
(data);
103
return
CreateSegments
(segments.ToArray());