[][src]Function natural_slice::property::decode_property

pub fn decode_property<ToDecode: TryInto<usize>>(
    property: ToDecode,
    base: u8
) -> Result<Vec<u8>, ToDecode::Error>

Decode a property number into a unique ordering of this slice's property.

Take as input the property number produced by encode_property and the base that was used to encode it. Returns a Vec filled with the value for the property at each position.