Skip to main content

estimate_csv_row_capacity

Function estimate_csv_row_capacity 

Source
pub const fn estimate_csv_row_capacity(num_cols: usize) -> usize
Expand description

Estimate CSV row string length based on number of columns

§Arguments

  • num_cols - Number of columns in the row

§Returns

Estimated string capacity for a CSV row