pub unsafe fn extract_byte_ranges_concat_unchecked(
    bytes: &[u8],
    byte_ranges: &[ByteRange],
) -> Vec<u8> 
Expand description

Extract byte ranges from bytes and concatenate.

§Safety

All byte ranges in byte_ranges must specify a range within bytes.

§Panics

Panics if attempting to reference a byte beyond usize::MAX.