pub fn write<K: Ord + Wire, V: Wire, S>( map: &HashMap<K, V, S>, w: &mut Writer<'_>, )
Writes the entries in key order. Keys are unique, so an unstable sort gives the same order.