pub fn put_compact_array_len(buf: &mut impl BufMut, len: Option<usize>)
Encode a COMPACT_ARRAY length prefix (varint of length + 1, 0 is null).
COMPACT_ARRAY