pub fn tpm_offset(base: &[u8], cursor: &[u8]) -> usize
Returns the byte offset of a cursor slice inside a base slice.