IBufferManager Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public interface IBufferManager
type IBufferManager = interface
Public Interface IBufferManager
Methods
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[]) |
Returns a buffer to the pool. |
TakeBuffer(Int32) |
Gets a buffer of the specified size or larger from the pool. |