Function bitcoin_string::has_prefix
source · pub fn has_prefix<T1, const PREFIX_LEN: usize>(
obj: &T1,
prefix: &[u8; PREFIX_LEN]
) -> boolExpand description
| Check whether a container begins with | the given prefix. |
pub fn has_prefix<T1, const PREFIX_LEN: usize>(
obj: &T1,
prefix: &[u8; PREFIX_LEN]
) -> bool| Check whether a container begins with | the given prefix. |