pub fn read_file_segment_to_string( path: &Path, offset: u64, length: u64, max_file_size: u64, ) -> Result<String>
Read one UTF-8 byte segment through the bounded snapshot reader.