Skip to main content

clip_html_encode

Function clip_html_encode 

Source
pub fn clip_html_encode(fragment: &[u8]) -> Option<Vec<u8>>
Expand description

Wrap a UTF-8 HTML fragment in Windows CF_HTML, with byte offsets and final NUL.