Function decode_text_with_encoding

Source
pub fn decode_text_with_encoding(
    bytes: &[u8],
    encoding: EncodingType,
) -> Result<String, PdfError>
Expand description

Convenience function to decode bytes with specific encoding