Skip to main content

split_args

Function split_args 

Source
pub fn split_args(data: &[u8], n: usize) -> Option<Vec<&[u8]>>
Expand description

Split data into exactly n arguments on its first n - 1 NULs; the last argument keeps any NULs of its own. None when there are too few separators.