A value indicating whether the number of bytes should
be counted while parsing. This will slow down parsing
because it needs to get the byte count of every char for the given encoding.
The
Encoding
needs to be set correctly for this to be accurate.
- Namespace
- CsvHelper
.Configuration .Attributes - Containing Type
- CountBytesAttribute
Syntax
public CountBytesAttribute(bool countBytes = true)
Parameters
Name | Type | Description |
---|---|---|
countBytes | bool |