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
Type | Name | Description |
---|---|---|
System.Int32 | bufferSize | |
Mirage.SocketLayer.Pool<Mirage.SocketLayer.ByteBuffer> | pool |
Returns
Type | Description |
---|---|
Mirage.SocketLayer.ByteBuffer |
Release()
Declaration
public void Release()
IDisposable.Dispose()
Declaration
void IDisposable.Dispose()