Function with_state_buffer

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

Helper function that calls provided function with new empty state buffer