encode_value

Function encode_value 

Source
pub fn encode_value(key: u32, text: &str) -> Result<Vec<u8>>
Expand description

Turn what somebody typed into the octets a property takes.

A property whose shape this tool does not know takes hex and nothing else: guessing at the encoding of a structure would write something plausible and wrong.