Skip to main content

MLAPI.Serialization.Pooled.NetworkReaderPool

Static class containing PooledNetworkReaders

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 NetworkReaderPool

Methods#

GetReader(Stream)#

Retrieves a PooledNetworkReader

Declaration#

public static PooledNetworkReader GetReader(Stream stream)

Parameters#

TypeNameDescription
System.IO.StreamstreamThe stream the reader should read from

Returns#

TypeDescription
PooledNetworkReaderA PooledNetworkReader

PutBackInPool(PooledNetworkReader)#

Puts a PooledNetworkReader back into the pool

Declaration#

public static void PutBackInPool(PooledNetworkReader reader)

Parameters#

TypeNameDescription
PooledNetworkReaderreaderThe reader to put in the pool