1 instantiation of MemoryBufferWriter
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
53
writer = new
MemoryBufferWriter
();
16 references to MemoryBufferWriter
Microsoft.AspNetCore.SignalR.StackExchangeRedis (16)
Internal\RedisProtocol.cs (10)
46
var
memoryBufferWriter =
MemoryBufferWriter
.Get();
88
MemoryBufferWriter
.Return(memoryBufferWriter);
102
var
memoryBufferWriter =
MemoryBufferWriter
.Get();
119
MemoryBufferWriter
.Return(memoryBufferWriter);
129
var
memoryBufferWriter =
MemoryBufferWriter
.Get();
142
MemoryBufferWriter
.Return(memoryBufferWriter);
146
public static byte[] WriteCompletionMessage(
MemoryBufferWriter
writer, string protocolName)
RedisHubLifetimeManager.cs (2)
548
var
memoryBufferWriter = AspNetCore.Internal.
MemoryBufferWriter
.Get();
src\SignalR\common\Shared\MemoryBufferWriter.cs (4)
20
private static
MemoryBufferWriter
? _cachedInstance;
48
public static
MemoryBufferWriter
Get()
50
var
writer = _cachedInstance;
72
public static void Return(
MemoryBufferWriter
writer)