[][src]Function packs::utils::decode_property

pub fn decode_property<T: Read, V: Unpack<T>>(
    reader: &mut T
) -> Result<(String, V), DecodeError>

Decodes a key-value pair using PackStream. Keys are strings, but values can be anything which implements Unpack.