Skip to main content

Class ByteBuffer

Warpper around a byte[] that belongs to a

Inheritance
System.Object
Inherited Members
Show
Syntax
public sealed class ByteBuffer : IDisposable

Fields

array

Declaration
public readonly byte[] array

Methods

CreateNew(Int32, Pool<ByteBuffer>)

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

Release()

Declaration
public void Release()

IDisposable.Dispose()

Declaration
void IDisposable.Dispose()