pub fn decode_one_with_config<'a, T>(
    bytes: &'a [u8],
    config: &DecoderConfig
) -> Result<T, Error>
where T: Deserialize<'a> + CandidType,