Skip to main content

copied_from

Function copied_from 

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

The address bytes say something was copied from, if they say one: of a page on the web, and nothing else. They are text in UTF-16, as Firefox writes it, with or without the mark that says which end first, or in UTF-8; told apart by the zero bytes that an address in UTF-16 is half made of.