Skip to main content

MLAPI.Serialization.Pooled.PooledNetworkReader

Disposable NetworkReader that returns the Reader to the NetworkReaderPool when disposed

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

Implements#

System.IDisposable

Inherited Members#

NetworkReader.SetStream(Stream)

NetworkReader.ReadByte()

NetworkReader.ReadByteDirect()

NetworkReader.ReadBit()

NetworkReader.ReadBool()

NetworkReader.SkipPadBits()

NetworkReader.ReadObjectPacked(Type)

NetworkReader.ReadSingle()

NetworkReader.ReadDouble()

NetworkReader.ReadSinglePacked()

NetworkReader.ReadDoublePacked()

NetworkReader.ReadVector2()

NetworkReader.ReadVector2Packed()

NetworkReader.ReadVector3()

NetworkReader.ReadVector3Packed()

NetworkReader.ReadVector4()

NetworkReader.ReadVector4Packed()

NetworkReader.ReadColor()

NetworkReader.ReadColorPacked()

NetworkReader.ReadColor32()

NetworkReader.ReadRay()

NetworkReader.ReadRayPacked()

NetworkReader.ReadRay2D()

NetworkReader.ReadRay2DPacked()

NetworkReader.ReadRangedSingle(Single, Single, Int32)

NetworkReader.ReadRangedDouble(Double, Double, Int32)

NetworkReader.ReadRotationPacked()

NetworkReader.ReadRotation()

NetworkReader.ReadBits(Int32)

NetworkReader.ReadByteBits(Int32)

NetworkReader.ReadNibble(Boolean)

NetworkReader.ReadNibble()

NetworkReader.ReadSByte()

NetworkReader.ReadUInt16()

NetworkReader.ReadInt16()

NetworkReader.ReadChar()

NetworkReader.ReadUInt32()

NetworkReader.ReadInt32()

NetworkReader.ReadUInt64()

NetworkReader.ReadInt64()

NetworkReader.ReadInt16Packed()

NetworkReader.ReadUInt16Packed()

NetworkReader.ReadCharPacked()

NetworkReader.ReadInt32Packed()

NetworkReader.ReadUInt32Packed()

NetworkReader.ReadInt64Packed()

NetworkReader.ReadUInt64Packed()

NetworkReader.ReadString(Boolean)

NetworkReader.ReadString(StringBuilder, Boolean)

NetworkReader.ReadStringPacked(StringBuilder)

NetworkReader.ReadStringDiff(String, Boolean)

NetworkReader.ReadStringDiff(StringBuilder, String, Boolean)

NetworkReader.ReadStringDiff(StringBuilder, Boolean)

NetworkReader.ReadStringPackedDiff(String)

NetworkReader.ReadStringPackedDiff(StringBuilder, String)

NetworkReader.ReadStringPackedDiff(StringBuilder)

NetworkReader.ReadByteArray(Byte[], Int64)

NetworkReader.CreateArraySegment(Int32, Int32)

NetworkReader.ReadByteArrayDiff(Byte[], Int64)

NetworkReader.ReadShortArray(Int16[], Int64)

NetworkReader.ReadShortArrayPacked(Int16[], Int64)

NetworkReader.ReadShortArrayDiff(Int16[], Int64)

NetworkReader.ReadShortArrayPackedDiff(Int16[], Int64)

NetworkReader.ReadUShortArray(UInt16[], Int64)

NetworkReader.ReadUShortArrayPacked(UInt16[], Int64)

NetworkReader.ReadUShortArrayDiff(UInt16[], Int64)

NetworkReader.ReadUShortArrayPackedDiff(UInt16[], Int64)

NetworkReader.ReadIntArray(Int32[], Int64)

NetworkReader.ReadIntArrayPacked(Int32[], Int64)

NetworkReader.ReadIntArrayDiff(Int32[], Int64)

NetworkReader.ReadIntArrayPackedDiff(Int32[], Int64)

NetworkReader.ReadUIntArray(UInt32[], Int64)

NetworkReader.ReadUIntArrayPacked(UInt32[], Int64)

NetworkReader.ReadUIntArrayDiff(UInt32[], Int64)

NetworkReader.ReadLongArray(Int64[], Int64)

NetworkReader.ReadLongArrayPacked(Int64[], Int64)

NetworkReader.ReadLongArrayDiff(Int64[], Int64)

NetworkReader.ReadLongArrayPackedDiff(Int64[], Int64)

NetworkReader.ReadULongArray(UInt64[], Int64)

NetworkReader.ReadULongArrayPacked(UInt64[], Int64)

NetworkReader.ReadULongArrayDiff(UInt64[], Int64)

NetworkReader.ReadULongArrayPackedDiff(UInt64[], Int64)

NetworkReader.ReadFloatArray(Single[], Int64)

NetworkReader.ReadFloatArrayPacked(Single[], Int64)

NetworkReader.ReadFloatArrayDiff(Single[], Int64)

NetworkReader.ReadFloatArrayPackedDiff(Single[], Int64)

NetworkReader.ReadDoubleArray(Double[], Int64)

NetworkReader.ReadDoubleArrayPacked(Double[], Int64)

NetworkReader.ReadDoubleArrayDiff(Double[], Int64)

NetworkReader.ReadDoubleArrayPackedDiff(Double[], Int64)

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 sealed class PooledNetworkReader : NetworkReader, IDisposable

Properties#

Serializer#

Declaration#

public NetworkSerializer Serializer { get; }

Property Value#

TypeDescription
NetworkSerializer

Methods#

Dispose()#

Returns the PooledNetworkReader into the static NetworkReaderPool

Declaration#

public void Dispose()

Get(Stream)#

Gets a PooledNetworkReader from the static NetworkReaderPool

Declaration#

public static PooledNetworkReader Get(Stream stream)

Parameters#

TypeNameDescription
System.IO.Streamstream

Returns#

TypeDescription
PooledNetworkReaderPooledNetworkReader

Implements#

System.IDisposable