verity_ic::crypto

Function remove_leading

source
pub fn remove_leading(vec: &Vec<u8>, element: u8) -> Vec<u8> 
Expand description

Removes the leading elements from a vector that match the specified element.