Function merge_updates_v2
pub fn merge_updates_v2<I, B>(updates: I) -> Result<Vec<u8>, Error>Expand description
Merges a sequence of updates (encoded using lib0 v2 encoding) together, producing another
update (also lib0 v2 encoded) in the result. Returned binary is a combination of all input
updates, compressed.
Returns an error whenever any of the input updates couldn’t be decoded.