Function freya::prelude::static_bytes_to_data
source · pub fn static_bytes_to_data(bytes: &'static [u8]) -> AttributeValue
Expand description
Transform some static bytes (e.g: raw image, raw svg) into attribute data
pub fn static_bytes_to_data(bytes: &'static [u8]) -> AttributeValue
Transform some static bytes (e.g: raw image, raw svg) into attribute data