pub fn begin_array<B>(buf: &mut B)where
    B: Buffer,