Skip to main content

utf8_text_from

Function utf8_text_from 

Source
pub fn utf8_text_from(data: Vec<u8>) -> Option<String>
Expand description

Attempts to decode the given byte vector as UTF-8 text and checks if it looks like text content.