Can't figure out why this is crashing

I believe this wouldn’t work for the use case in the OP, since they are relying on particular []u8 slices being contiguous, and SegmentedList(u8) couldn’t guarantee any two bytes in the list are contiguous.