Skip to main content

table_within

Function table_within 

Source
pub fn table_within(
    bytes: &[u8],
    layout: &RecordLayout,
    max_text_bytes: usize,
) -> Result<Table, LogError>
Expand description

The file’s records written out as a table of at most max_text_bytes (module docs).

§Errors

LogError::Layout for a layout outside the bounds, or a table whose text would pass max_text_bytes; LogError::Binary for bytes past the last whole record that aren’t all 0xFF, naming the first; LogError::NoData for a file with no record but erased memory.