pub fn text_len(file: &File) -> Result<Option<u64>>
How many bytes of the file at file are text, when it ends in NULs.
file