Nakama .NET Client SDK 3.8.0
Nakama .NET Client SDK
Loading...
Searching...
No Matches
Nakama.Ninja.WebSockets.IBufferPool Interface Reference
Inheritance diagram for Nakama.Ninja.WebSockets.IBufferPool:
Nakama.Ninja.WebSockets.BufferPool

Public Member Functions

MemoryStream GetBuffer ()
 Gets a MemoryStream built from a buffer plucked from a thread safe pool The pool grows automatically. Closing the memory stream clears the buffer and returns it to the pool.
 

Member Function Documentation

◆ GetBuffer()

MemoryStream Nakama.Ninja.WebSockets.IBufferPool.GetBuffer ( )

Gets a MemoryStream built from a buffer plucked from a thread safe pool The pool grows automatically. Closing the memory stream clears the buffer and returns it to the pool.

Implemented in Nakama.Ninja.WebSockets.BufferPool.


The documentation for this interface was generated from the following file: