Skip to main content

decode_credential_authentication_factor

Function decode_credential_authentication_factor 

Source
pub fn decode_credential_authentication_factor(
    data: &[u8],
    offset: usize,
) -> Result<(BACnetCredentialAuthenticationFactor, usize), Error>
Expand description

Decode one BACnetCredentialAuthenticationFactor SEQUENCE at offset.

Fails as decode_authentication_factor does, and also when the disable member is missing or wider than 32 bits or the factor’s frame is missing or holds anything after the factor.