pub fn sheets_within(
bytes: &[u8],
max_text_bytes: usize,
) -> Result<Vec<Sheet>, LogError>Expand description
The sheet of a bare worksheet stream as text, keeping at most max_text_bytes of it: one
sheet, as the stream holds one.
§Errors
LogError::NotThisFormat when the bytes don’t open with a BOF record (recognizes);
LogError::Workbook when the stream is a workbook’s or a chart’s rather than a worksheet’s,
a record runs past the end or past 8,224 bytes, a cell record is shorter than its fields, a
record holds a value the reader doesn’t read (a formula, or a later version’s cell), cells
come out of order or past column IV, a number isn’t finite, a text cell holds a byte beyond
ASCII, the stream has no EOF or holds bytes after it, or the text would pass
max_text_bytes.