pub fn content_as_string(&self) -> Result<String, Box<dyn std::error::Error>> {
        let mut content = String::new();
        for record in &self.records()?[self.readable_records_range()] {
            content.push_str(&record.to_string(self.text_encoding())?);
        }

        Ok(content)
    }
/// Returns all readable records content decompressed as a String.
/// This function is a strict version returning error on first encountered
/// decoding error.
Returns all readable records content decompressed as a String.
This function is a strict version returning error on first encountered
decoding error.
Returns all readable records content decompressed as a String . This function is a strict version returning error on first encountered decoding error .
pub fn content_as_string(&self) -> Result<String, Box<dyn std::error::Error>> {
        let mut content = String::new();
        for record in &self.records()?[self.readable_records_range()] {
            content.push_str(&record.to_string(self.text_encoding())?);
        }
        Ok(content)
    }
pub fn content_as_string ( & self ) -> Result < String , Box < dyn std :: error :: Error > > { let mut content = String :: new ( ) ; for record in & self . records ( ) ? [ self . readable_records_range ( ) ] { content . push_str ( & record . to_string ( self . text_encoding ( ) ) ? ) ; } Ok ( content ) }
Returns all readable records content decompressed as a String.
Returns all readable records content decompressed as a String .
&self
&self