pub trait Offset { fn offset_to(&self, second: &Self) -> usize; }
Useful functions to calculate the offset between slices and show a hexdump of a slice
Offset between the first byte of self and the first byte of the argument
Convenience implementation to accept &[T] instead of &&[T] as above
&[T]
&&[T]
Convenience implementation to accept &str instead of &&str as above
&str
&&str