Mirror Networking
|
Pool of NetworkWriters to avoid allocations. More...
Static Public Member Functions | |
static NetworkWriterPooled | GetWriter () |
static NetworkWriterPooled | Get () |
Get a writer from the pool. Creates new one if pool is empty. More... | |
static void | Recycle (NetworkWriterPooled writer) |
static void | Return (NetworkWriterPooled writer) |
Return a writer to the pool. More... | |
Pool of NetworkWriters to avoid allocations.
Definition at line 8 of file NetworkWriterPool.cs.
|
static |
Get a writer from the pool. Creates new one if pool is empty.
Definition at line 28 of file NetworkWriterPool.cs.
|
static |
Return a writer to the pool.
Definition at line 42 of file NetworkWriterPool.cs.