/// Checks if `src` is a prefix of the brand string.
Checks if `src` is a prefix of the brand string.
Checks if ` src ` is a prefix of the brand string .
pub fn starts_with(&self, src: &[u8]) -> bool {
        if src.len() > Self::MAX_LEN {
            return false;
        }
        &self.as_bytes()[..src.len()] == src
    }
pub fn starts_with ( & self , src : & [ u8 ] ) -> bool { if src . len ( ) > Self :: MAX_LEN { return false ; } & self . as_bytes ( ) [ .. src . len ( ) ] == src }
Checks if `src` is a prefix of the brand string.
Checks if ` src ` is a prefix of the brand string .
&self
src
&[u8]