Skip to main content

open_bytes_with

Function open_bytes_with 

Source
pub fn open_bytes_with(
    name: &str,
    bytes: &[u8],
    password: Option<&str>,
    csv_as_text: bool,
) -> Result<(Workbook, Vec<String>)>
Expand description

open_bytes_with_password, and with csv_as_text a CSV/TSV/TXT file keeps every field as the text it holds, with no number, date or boolean conversion (identifiers such as GTINs, SKUs and ZIP codes survive). It does not apply to other formats.