IBufferManager Interface (Microsoft.WindowsAzure.Storage)
From Microsoft Windows Azure Storage Blob
C#
C++
F#
VB
IBufferManager Interface
An interface that allows clients to provide a buffer manager to a given service client. This interface is patterned after the System.ServiceModel.Channels.BufferManager class.
Namespace:
Microsoft.WindowsAzure.Storage
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
Methods
Name Description 
GetDefaultBufferSize()()()() Gets the size, in bytes, of the buffers managed by the given pool. Note that the buffer manager must return buffers of the exact size requested by the client.

ReturnBuffer(Byte[])(array<Byte>^)(Byte[])(Byte()) Returns a buffer to the pool.

TakeBuffer(Int32)(Int32)(Int32)(Int32) Gets a buffer of the specified size or larger from the pool.
Return to top
An interface that allows clients to provide a buffer manager to a given service client. This interface is patterned after the System.ServiceModel.Channels.BufferManager class.
Syntax
Methods
| Name | Description | |
|---|---|---|
| GetDefaultBufferSize()()()() | Gets the size, in bytes, of the buffers managed by the given pool. Note that the buffer manager must return buffers of the exact size requested by the client. | |
| ReturnBuffer(Byte[])(array<Byte>^)(Byte[])(Byte()) | Returns a buffer to the pool. | |
| TakeBuffer(Int32)(Int32)(Int32)(Int32) | Gets a buffer of the specified size or larger from the pool. |