Skip to main content

MLAPI.Serialization.Pooled.NetworkBufferPool

Static class containing PooledNetworkBuffers

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

Inherited Members#

Object.Equals(Object)

Object.Equals(Object, Object)

Object.GetHashCode()

Object.GetType()

Object.MemberwiseClone()

Object.ReferenceEquals(Object, Object)

Object.ToString()

Namespace: System.Dynamic.ExpandoObject#
Assembly: MLAPI.dll#
Syntax#
public static class NetworkBufferPool

Methods#

GetBuffer()#

Retrieves an expandable PooledNetworkBuffer from the pool

Declaration#

public static PooledNetworkBuffer GetBuffer()

Returns#

TypeDescription
PooledNetworkBufferAn expandable PooledNetworkBuffer

PutBackInPool(PooledNetworkBuffer)#

Puts a PooledNetworkBuffer back into the pool

Declaration#

public static void PutBackInPool(PooledNetworkBuffer buffer)

Parameters#

TypeNameDescription
PooledNetworkBufferbufferThe buffer to put in the pool