Function freya::prelude::bytes_to_data
pub fn bytes_to_data<T, 'a>(
cx: &'a Scoped<'a, T>,
bytes: &[u8]
) -> AttributeValue<'a>Expand description
Transform some bytes (e.g: raw image, raw svg) into attribute data
pub fn bytes_to_data<T, 'a>(
cx: &'a Scoped<'a, T>,
bytes: &[u8]
) -> AttributeValue<'a>Transform some bytes (e.g: raw image, raw svg) into attribute data