Function dlt_core::parse::forward_to_next_storage_header
source · pub fn forward_to_next_storage_header(input: &[u8]) -> Option<(u64, &[u8])>
Expand description
Skips ahead in input array up to the next storage header
Returns the number of dropped bytes along with the remaining slice.
If no next storage header can be found, None
is returned.
Note: will not skip anything if the input already begins with a storage header.
Arguments
input
- A slice of bytes that contain dlt messages including storage headers