read_write

Function unpack_vec_from_asset

Source
pub fn unpack_vec_from_asset<T>(
    asset: Option<Cow<'static, [u8]>>,
) -> Result<Vec<T>>
Expand description

Helper function used to unpack vectors from RustEmbed Assets

This is data that is embeded in the binary