Skip to main content

Class PooledNetworkWriter

NetworkWriter to be used with

Inheritance
System.Object
Mirage.Serialization.NetworkWriter
Inherited Members
Show

Mirage.Serialization.NetworkWriter.ByteCapacity

Mirage.Serialization.NetworkWriter.ByteLength

Mirage.Serialization.NetworkWriter.BitPosition

Mirage.Serialization.NetworkWriter.Reset()

Mirage.Serialization.NetworkWriter.ToArray()

Mirage.Serialization.NetworkWriter.ToArraySegment()

Mirage.Serialization.NetworkWriter.PadToByte()

Mirage.Serialization.NetworkWriter.PadAndCopy<T>(T)

Mirage.Serialization.NetworkWriter.CopyFromWriter(Mirage.Serialization.NetworkWriter)

Syntax
public sealed class PooledNetworkWriter : NetworkWriter, IDisposable

Methods

CreateNew(Int32, Pool<PooledNetworkWriter>)

Declaration
public static PooledNetworkWriter CreateNew(int bufferSize, Pool<PooledNetworkWriter> pool)
Parameters
TypeNameDescription
System.Int32bufferSize
Mirage.SocketLayer.Pool<Mirage.Serialization.PooledNetworkWriter>pool
Returns
TypeDescription
Mirage.Serialization.PooledNetworkWriter

Release()

Puts object back in Pool

Declaration
public void Release()

IDisposable.Dispose()

Declaration
void IDisposable.Dispose()