pub unsafe fn pop2_top_unsafe(&mut self) -> (U256, U256, &mut U256) {
        let mut len = self.data.len();
        let pop1 = *self.data.get_unchecked(len - 1);
        len -= 2;
        let pop2 = *self.data.get_unchecked(len);
        self.data.set_len(len);

        (pop1, pop2, self.data.get_unchecked_mut(len - 1))
    }
/// Pops 2 values from the stack and returns them, in addition to the new topmost value.
///
/// # Safety
/// The caller is responsible to check length of array
Pops 2 values from the stack and returns them, in addition to the new topmost value.
Pops 2 values from the stack and returns them in addition to the new topmost value .
pub unsafe fn pop2_top_unsafe(&mut self) -> (U256, U256, &mut U256) {
        let mut len = self.data.len();
        let pop1 = *self.data.get_unchecked(len - 1);
        len -= 2;
        let pop2 = *self.data.get_unchecked(len);
        self.data.set_len(len);
        (pop1, pop2, self.data.get_unchecked_mut(len - 1))
    }
pub unsafe fn pop2_top_unsafe ( & mut self ) -> ( U256 , U256 , & mut U256 ) { let mut len = self . data . len ( ) ; let pop1 = * self . data . get_unchecked ( len - 1 ) ; len -= 2 ; let pop2 = * self . data . get_unchecked ( len ) ; self . data . set_len ( len ) ; ( pop1 , pop2 , self . data . get_unchecked_mut ( len - 1 ) ) }
Pops 2 values from the stack and returns them, in addition to the new topmost value.
Pops 2 values from the stack and returns them in addition to the new topmost value .
&mut self
&mut self
safety
The caller is responsible to check length of array
The caller is responsible to check length of array