Table of Contents

Interface IBufferPool

Namespace
FlameCsv.IO
Assembly
FlameCsv.Core.dll

Pool for renting buffers for IO operations, unescaping values, and other temporary use.

public interface IBufferPool

Remarks

This type is intentionally not disposable; if a custom implementation needs disposal, it should manage its own lifetime.

Methods

GetBytes(int)

Returns a byte buffer with at least the specified length.

IMemoryOwner<byte> GetBytes(int length)

Parameters

length int

Returns

IMemoryOwner<byte>

GetChars(int)

Returns a char buffer with at least the specified length.

IMemoryOwner<char> GetChars(int length)

Parameters

length int

Returns

IMemoryOwner<char>