Skip to main content

text_string

Function text_string 

Source
pub fn text_string(b: &[u8]) -> String
Expand description

a text string (7.9.2.2) as text: UTF-16BE after FE FF, UTF-16LE after FF FE (seen in the wild), UTF-8 after EF BB BF (PDF 2.0), else PDFDocEncoding