Function with_state_buffer_pair

Source
pub fn with_state_buffer_pair<F, R>(f: F) -> R
where F: FnOnce(&mut VariableBytes<RECOMMENDED_STATE_CAPACITY>, &mut VariableBytes<RECOMMENDED_STATE_CAPACITY>) -> R,
Expand description

Helper function that calls provided function with new empty state buffer pair