Function data_encoding::base::equal [] [src]

pub fn equal<B1: Base, B2: Base>(b1: &B1, b2: &B2) -> Result<(), EqualError>

Checks whether two bases are equal.

This function checks whether the symbols, their associated value, and the padding of two bases are equal. This is enough if both bases are valid.