Show / Hide Table of Contents

    Interface IBufferPool

    Use this interface to implement custom buffer pool. To use the default buffer pool implementation use DefaultBufferPool class.

    Inherited Members
    IDisposable.Dispose()
    Namespace: StreamExtended
    Assembly: StreamExtended.dll
    Syntax
    public interface IBufferPool : IDisposable

    Methods

    GetBuffer(Int32)

    Declaration
    byte[] GetBuffer(int bufferSize)
    Parameters
    Type Name Description
    Int32 bufferSize
    Returns
    Type Description
    Byte[]

    ReturnBuffer(Byte[])

    Declaration
    void ReturnBuffer(byte[] buffer)
    Parameters
    Type Name Description
    Byte[] buffer
    Back to top Generated by DocFX