Skip to main content

read_bytes

Function read_bytes 

Source
pub fn read_bytes(bytes: &[u8], name: Option<&str>) -> Result<Spreadsheet>
Expand description

Reads a spreadsheet from bytes already in memory, working out its format the same way read does.

name is the file name the bytes came from, if there is one: its extension answers what the signature cannot, and its stem names the sheet of a SYLK file, which carries no name of its own.

ยงErrors

Whatever the chosen reader returns.