Show / Hide Table of Contents

Interface IBufferManager

The interface defines the methods to manage buffers.

Namespace: Amqp
Assembly: Amqp.Net.dll
Syntax
public interface IBufferManager

Methods

ReturnBuffer(ArraySegment<Byte>)

Returns a buffer to the buffer manager.

Declaration
void ReturnBuffer(ArraySegment<byte> buffer)
Parameters
Type Name Description
System.ArraySegment<System.Byte> buffer

The buffer to return.

TakeBuffer(Int32)

Takes a buffer from the buffer manager.

Declaration
ArraySegment<byte> TakeBuffer(int bufferSize)
Parameters
Type Name Description
System.Int32 bufferSize

the buffer size.

Returns
Type Description
System.ArraySegment<System.Byte>

A segment of a byte array. The count should be the same, or larger than the requested bufferSize.

Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX