pub fn slice_between<'a>(
whole_buffer_start: &'a [u8],
post_part: &'a [u8],
) -> &'a [u8]
Expand description
Assuming that post_part
is a true (in regards to memory allocations)
subslice of whole_buffer_start
, returns everything which comes before post_part
.