Function native_model::decode

source ·
pub fn decode<T: Model>(data: Vec<u8>) -> Result<(T, u32)>
Expand description

Allows to decode a native_model from a Vec<u8> and returns the version (u32). See examples: