Skip to main content

MLAPI.Serialization.Pooled.PooledNetworkWriter

Disposable NetworkWriter that returns the Writer to the NetworkWriterPool when disposed

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

Implements#

System.IDisposable

Inherited Members#

NetworkWriter.SetStream(Stream)

NetworkWriter.WriteObjectPacked(Object)

NetworkWriter.WriteSingle(Single)

NetworkWriter.WriteDouble(Double)

NetworkWriter.WriteSinglePacked(Single)

NetworkWriter.WriteDoublePacked(Double)

NetworkWriter.WriteRay(Ray)

NetworkWriter.WriteRayPacked(Ray)

NetworkWriter.WriteRay2D(Ray2D)

NetworkWriter.WriteRay2DPacked(Ray2D)

NetworkWriter.WriteColor(Color)

NetworkWriter.WriteColorPacked(Color)

NetworkWriter.WriteColor32(Color32)

NetworkWriter.WriteVector2(Vector2)

NetworkWriter.WriteVector2Packed(Vector2)

NetworkWriter.WriteVector3(Vector3)

NetworkWriter.WriteVector3Packed(Vector3)

NetworkWriter.WriteVector4(Vector4)

NetworkWriter.WriteVector4Packed(Vector4)

NetworkWriter.WriteRangedSingle(Single, Single, Single, Int32)

NetworkWriter.WriteRangedDouble(Double, Double, Double, Int32)

NetworkWriter.WriteRotationPacked(Quaternion)

NetworkWriter.WriteRotation(Quaternion)

NetworkWriter.WriteBit(Boolean)

NetworkWriter.WriteBool(Boolean)

NetworkWriter.WritePadBits()

NetworkWriter.WriteNibble(Byte)

NetworkWriter.WriteNibble(Byte, Boolean)

NetworkWriter.WriteBits(UInt64, Int32)

NetworkWriter.WriteBits(Byte, Int32)

NetworkWriter.WriteSByte(SByte)

NetworkWriter.WriteChar(Char)

NetworkWriter.WriteUInt16(UInt16)

NetworkWriter.WriteInt16(Int16)

NetworkWriter.WriteUInt32(UInt32)

NetworkWriter.WriteInt32(Int32)

NetworkWriter.WriteUInt64(UInt64)

NetworkWriter.WriteInt64(Int64)

NetworkWriter.WriteInt16Packed(Int16)

NetworkWriter.WriteUInt16Packed(UInt16)

NetworkWriter.WriteCharPacked(Char)

NetworkWriter.WriteInt32Packed(Int32)

NetworkWriter.WriteUInt32Packed(UInt32)

NetworkWriter.WriteInt64Packed(Int64)

NetworkWriter.WriteUInt64Packed(UInt64)

NetworkWriter.WriteByte(Byte)

NetworkWriter.WriteString(String, Boolean)

NetworkWriter.WriteStringPacked(String)

NetworkWriter.WriteStringDiff(String, String, Boolean)

NetworkWriter.WriteStringPackedDiff(String, String)

NetworkWriter.WriteByteArray(Byte[], Int64)

NetworkWriter.WriteBytes(Byte[], Int64, Int32)

NetworkWriter.ReadAndWrite(NetworkReader, Int64)

NetworkWriter.WriteByteArrayDiff(Byte[], Byte[], Int64)

NetworkWriter.WriteShortArray(Int16[], Int64)

NetworkWriter.WriteShortArrayDiff(Int16[], Int16[], Int64)

NetworkWriter.WriteUShortArray(UInt16[], Int64)

NetworkWriter.WriteUShortArrayDiff(UInt16[], UInt16[], Int64)

NetworkWriter.WriteCharArray(Char[], Int64)

NetworkWriter.WriteCharArrayDiff(Char[], Char[], Int64)

NetworkWriter.WriteIntArray(Int32[], Int64)

NetworkWriter.WriteIntArrayDiff(Int32[], Int32[], Int64)

NetworkWriter.WriteUIntArray(UInt32[], Int64)

NetworkWriter.WriteUIntArrayDiff(UInt32[], UInt32[], Int64)

NetworkWriter.WriteLongArray(Int64[], Int64)

NetworkWriter.WriteLongArrayDiff(Int64[], Int64[], Int64)

NetworkWriter.WriteULongArray(UInt64[], Int64)

NetworkWriter.WriteULongArrayDiff(UInt64[], UInt64[], Int64)

NetworkWriter.WriteFloatArray(Single[], Int64)

NetworkWriter.WriteFloatArrayDiff(Single[], Single[], Int64)

NetworkWriter.WriteDoubleArray(Double[], Int64)

NetworkWriter.WriteDoubleArrayDiff(Double[], Double[], Int64)

NetworkWriter.WriteArrayPacked(Array, Int64)

NetworkWriter.WriteArrayPackedDiff(Array, Array, Int64)

NetworkWriter.WriteShortArrayPacked(Int16[], Int64)

NetworkWriter.WriteShortArrayPackedDiff(Int16[], Int16[], Int64)

NetworkWriter.WriteUShortArrayPacked(UInt16[], Int64)

NetworkWriter.WriteUShortArrayPackedDiff(UInt16[], UInt16[], Int64)

NetworkWriter.WriteCharArrayPacked(Char[], Int64)

NetworkWriter.WriteCharArrayPackedDiff(Char[], Char[], Int64)

NetworkWriter.WriteIntArrayPacked(Int32[], Int64)

NetworkWriter.WriteIntArrayPackedDiff(Int32[], Int32[], Int64)

NetworkWriter.WriteUIntArrayPacked(UInt32[], Int64)

NetworkWriter.WriteUIntArrayPackedDiff(UInt32[], UInt32[], Int64)

NetworkWriter.WriteLongArrayPacked(Int64[], Int64)

NetworkWriter.WriteLongArrayPackedDiff(Int64[], Int64[], Int64)

NetworkWriter.WriteULongArrayPacked(UInt64[], Int64)

NetworkWriter.WriteULongArrayPackedDiff(UInt64[], UInt64[], Int64)

NetworkWriter.WriteFloatArrayPacked(Single[], Int64)

NetworkWriter.WriteFloatArrayPackedDiff(Single[], Single[], Int64)

NetworkWriter.WriteDoubleArrayPacked(Double[], Int64)

NetworkWriter.WriteDoubleArrayPackedDiff(Double[], 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 PooledNetworkWriter : NetworkWriter, IDisposable

Properties#

Serializer#

Declaration#

public NetworkSerializer Serializer { get; }

Property Value#

TypeDescription
NetworkSerializer

Methods#

Dispose()#

Returns the PooledNetworkWriter into the static NetworkWriterPool

Declaration#

public void Dispose()

Get(Stream)#

Gets a PooledNetworkWriter from the static NetworkWriterPool

Declaration#

public static PooledNetworkWriter Get(Stream stream)

Parameters#

TypeNameDescription
System.IO.Streamstream

Returns#

TypeDescription
PooledNetworkWriterPooledNetworkWriter

Implements#

System.IDisposable