pub fn content_as_string_lossy(&self) -> io::Result<String> {
        Ok(self.records()?[self.readable_records_range()]
            .iter()
            .map(|record| record.to_string_lossy(self.text_encoding()))
            .collect())
    }
/// Returns all readable records content decompressed as a String.
/// There are only two supported encodings in mobi format (UTF8, WIN1252)
/// and both are losely converted by this function
Returns all readable records content decompressed as a String.
There are only two supported encodings in mobi format (UTF8, WIN1252)
and both are losely converted by this function
Returns all readable records content decompressed as a String . There are only two supported encodings in mobi format ( UTF8 WIN1252 ) and both are losely converted by this function
pub fn content_as_string_lossy(&self) -> io::Result<String> {
        Ok(self.records()?[self.readable_records_range()]
            .iter()
            .map(|record| record.to_string_lossy(self.text_encoding()))
            .collect())
    }
pub fn content_as_string_lossy ( & self ) -> io :: Result < String > { Ok ( self . records ( ) ? [ self . readable_records_range ( ) ] . iter ( ) . map ( | record | record . to_string_lossy ( self . text_encoding ( ) ) ) . collect ( ) ) }
Returns all readable records content decompressed as a String.
Returns all readable records content decompressed as a String .
&self
&self