pub fn map_header(buf: &[u8], offset: usize) -> Option<(usize, usize)>
Return the number of key-value pairs and the offset of the first pair, for the map starting at offset. Returns None if not a map.
offset
None