pub fn decode_granularity(inp: &TlvItemValue) -> Result<Granularity>
Decode Granularity attribute (0x0001)