Skip to main content

MLAPI.Serialization.Pooled.PooledNetworkBuffer

Disposable NetworkBuffer that returns back to the NetworkBufferPool when disposed

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

Implements#

System.IDisposable

Inherited Members#

NetworkBuffer.Resizable

NetworkBuffer.GrowthFactor

NetworkBuffer.CanRead

NetworkBuffer.HasDataToRead

NetworkBuffer.CanSeek

NetworkBuffer.CanWrite

NetworkBuffer.Capacity

NetworkBuffer.Length

NetworkBuffer.Position

NetworkBuffer.BitPosition

NetworkBuffer.BitLength

NetworkBuffer.BitAligned

NetworkBuffer.Flush()

NetworkBuffer.ReadByte()

NetworkBuffer.PeekByte()

NetworkBuffer.ReadBit()

NetworkBuffer.Read(Byte[], Int32, Int32)

NetworkBuffer.Seek(Int64, SeekOrigin)

NetworkBuffer.SetLength(Int64)

NetworkBuffer.Write(Byte[], Int32, Int32)

NetworkBuffer.WriteByte(Byte)

NetworkBuffer.Write(Byte[])

NetworkBuffer.WriteBit(Boolean)

NetworkBuffer.CopyFrom(Stream, Int32)

NetworkBuffer.CopyTo(Stream, Int32)

NetworkBuffer.CopyUnreadFrom(Stream, Int32)

NetworkBuffer.CopyFrom(NetworkBuffer, Int32, Boolean)

NetworkBuffer.GetBuffer()

NetworkBuffer.ToArray()

NetworkBuffer.PadBuffer()

NetworkBuffer.SkipPadBits()

NetworkBuffer.ToString()

Stream.Null

Stream.BeginRead(Byte[], Int32, Int32, AsyncCallback, Object)

Stream.BeginWrite(Byte[], Int32, Int32, AsyncCallback, Object)

Stream.Close()

Stream.CreateWaitHandle()

Stream.Dispose(Boolean)

Stream.EndRead(IAsyncResult)

Stream.EndWrite(IAsyncResult)

Stream.Synchronized(Stream)

Stream.CanTimeout

Stream.ReadTimeout

Stream.WriteTimeout

MarshalByRefObject.CreateObjRef(Type)

MarshalByRefObject.GetLifetimeService()

MarshalByRefObject.InitializeLifetimeService()

MarshalByRefObject.MemberwiseClone(Boolean)

Object.Equals(Object)

Object.Equals(Object, Object)

Object.GetHashCode()

Object.GetType()

Object.MemberwiseClone()

Object.ReferenceEquals(Object, Object)

Namespace: System.Dynamic.ExpandoObject#
Assembly: MLAPI.dll#
Syntax#
public sealed class PooledNetworkBuffer : NetworkBuffer, IDisposable

Methods#

Dispose()#

Returns the PooledNetworkBuffer into the static NetworkBufferPool

Declaration#

public void Dispose()

Get()#

Gets a PooledNetworkBuffer from the static NetworkBufferPool

Declaration#

public static PooledNetworkBuffer Get()

Returns#

TypeDescription
PooledNetworkBufferPooledNetworkBuffer

Implements#

System.IDisposable