1 instantiation of MemoryBufferWriter
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
53writer = new MemoryBufferWriter();
10 references to MemoryBufferWriter
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (10)
Protocol\MessagePackHubProtocolWorker.cs (6)
337var memoryBufferWriter = MemoryBufferWriter.Get(); 352MemoryBufferWriter.Return(memoryBufferWriter); 359var memoryBufferWriter = MemoryBufferWriter.Get(); 383MemoryBufferWriter.Return(memoryBufferWriter);
src\SignalR\common\Shared\MemoryBufferWriter.cs (4)
20private static MemoryBufferWriter? _cachedInstance; 48public static MemoryBufferWriter Get() 50var writer = _cachedInstance; 72public static void Return(MemoryBufferWriter writer)