pub fn apply_fifo_queue(
base: &mut Vec<u8>,
delta: &ArchivedFifoQueueDiff,
item_ssz_size: usize,
)Expand description
Applies a FIFO queue delta in place.
The destination queue is updated by:
- Removing
consumed_countitems from the front. - Appending the recorded SSZ items to the end.
If consumed_count exceeds the current queue length, the destination queue
is cleared before appending.
ยงComplexity
O(queue size + appended bytes)