Table of Contents

Class BufferSizeAttribute

Namespace
CsvHelper.Configuration.Attributes
Assembly
CsvHelper.dll

The size of the buffer used for parsing and writing CSV files. Default is 0x1000.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class BufferSizeAttribute : Attribute, IClassMapper
Inheritance
BufferSizeAttribute
Implements
Inherited Members

Constructors

BufferSizeAttribute(int)

The size of the buffer used for parsing and writing CSV files.

public BufferSizeAttribute(int bufferSize)

Parameters

bufferSize int

Properties

BufferSize

The buffer size.

public int BufferSize { get; }

Property Value

int

Methods

ApplyTo(CsvConfiguration)

public void ApplyTo(CsvConfiguration configuration)

Parameters

configuration CsvConfiguration