platform_encode_to_vec

Function platform_encode_to_vec 

Source
pub fn platform_encode_to_vec<E: PlatformVersionEncode, C: Config>(
    val: E,
    config: C,
    platform_version: &PlatformVersion,
) -> Result<Vec<u8>, EncodeError>
Expand description

PlatformVersionEncode the given value into a Vec<u8> with the given Config. See the config module for more information.