bitwarden_crypto::enc_string

Function check_length

source
fn check_length(buf: &[u8], expected: usize) -> Result<(), CryptoError>