pub fn read_compact_array_length(buf: &mut Bytes) -> Result<i32>
Read a compact array length (varint of len + 1, 0 → -1 (null)).
len + 1
0 → -1