Function mavlink::utils::remove_trailing_zeroes

source ·
pub fn remove_trailing_zeroes(data: &[u8]) -> usize
Expand description

Removes the trailing zeroes in the payload

§Note:

There must always be at least one remaining byte even if it is a zero byte.