<PackageReference Include="Microsoft.Azure.Storage.Common" Version="11.2.0" />

Microsoft.Azure.Storage.IBufferManager

public interface IBufferManager
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.

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.

void ReturnBuffer(byte[] buffer)

Returns a buffer to the pool.

byte[] TakeBuffer(int bufferSize)

Gets a buffer of the specified size or larger from the pool.