pub fn merge_fields(base: &[u8], updates: &[(&str, &[u8])]) -> Vec<u8> ⓘExpand description
Merge field updates into a msgpack map without full decode.
Takes a base msgpack map and a list of (field_name, raw_msgpack_value) updates.
Returns a new msgpack map with updated fields replaced and new fields appended.
Fields not in updates are copied from the original.