C# Class Microsoft.Azure.Amqp.InternalBufferManager

Show file Open project: Azure/azure-amqp Class Usage Examples

Public Methods

Method Description
AllocateByteArray ( int size ) : byte[]
Clear ( ) : void
Create ( long maxBufferPoolSize, int maxBufferSize, bool isTransportBufferPool ) : InternalBufferManager
ReturnBuffer ( byte buffer ) : void
TakeBuffer ( int bufferSize ) : byte[]

Protected Methods

Method Description
InternalBufferManager ( ) : System

Method Details

AllocateByteArray() public static method

public static AllocateByteArray ( int size ) : byte[]
size int
return byte[]

Clear() public abstract method

public abstract Clear ( ) : void
return void

Create() public static method

public static Create ( long maxBufferPoolSize, int maxBufferSize, bool isTransportBufferPool ) : InternalBufferManager
maxBufferPoolSize long
maxBufferSize int
isTransportBufferPool bool
return InternalBufferManager

InternalBufferManager() protected method

protected InternalBufferManager ( ) : System
return System

ReturnBuffer() public abstract method

public abstract ReturnBuffer ( byte buffer ) : void
buffer byte
return void

TakeBuffer() public abstract method

public abstract TakeBuffer ( int bufferSize ) : byte[]
bufferSize int
return byte[]