Class PooledNetworkBuffer
Disposable NetworkBuffer that returns back to the NetworkBufferPool when disposed
Implements
Inherited Members
Namespace: MLAPI.Serialization.Pooled
Assembly: Unity.Multiplayer.MLAPI.Runtime.dll
Syntax
public sealed class PooledNetworkBuffer : NetworkBuffer, IDisposable
Methods
Dispose()
Returns the PooledNetworkBuffer into the static NetworkBufferPool
Declaration
public void Dispose()
Get()
Gets a PooledNetworkBuffer from the static NetworkBufferPool
Declaration
public static PooledNetworkBuffer Get()
Returns
| Type | Description |
|---|---|
| PooledNetworkBuffer | PooledNetworkBuffer |