Function cros_fdt::propval::str_to_bytes

source ·
fn str_to_bytes<T: AsRef<str>>(value: &[T]) -> Result<Vec<u8>>