pub unsafe fn value_unchecked(&self, i: usize) -> &[u8] {
        // soundness: the invariant of the function
        let start = self.offsets.get_unchecked(i).to_usize();
        let end = self.offsets.get_unchecked(i + 1).to_usize();

        // soundness: the invariant of the struct
        self.values.get_unchecked(start..end)
    }
/// Returns the element at index `i`
/// # Safety
/// Assumes that the `i < self.len`.
Returns the element at index `i`
Returns the element at index ` i `
pub unsafe fn value_unchecked(&self, i: usize) -> &[u8] {
        // soundness: the invariant of the function
        let start = self.offsets.get_unchecked(i).to_usize();
        let end = self.offsets.get_unchecked(i + 1).to_usize();
        // soundness: the invariant of the struct
        self.values.get_unchecked(start..end)
    }
pub unsafe fn value_unchecked ( & self , i : usize ) -> & [ u8 ] { // soundness: the invariant of the function let start = self . offsets . get_unchecked ( i ) . to_usize ( ) ; let end = self . offsets . get_unchecked ( i + 1 ) . to_usize ( ) ; // soundness: the invariant of the struct self . values . get_unchecked ( start .. end ) }
Returns the element at index `i`
Returns the element at index ` i `
&self
i
usize
&self
i
usize
safety
Assumes that the `i < self.len`.
Assumes that the ` i < self . len ` .