Skip to main content

xml_encoding

Function xml_encoding 

Source
pub fn xml_encoding(bytes: &[u8]) -> Option<String>
Expand description

The encoding name in the XML declaration of the bytes of xml_recv, if there is one. A declaration that is not valid has no encoding here, because xml_recv does not check it.