Skip to main content

put_nullable_array_len

Function put_nullable_array_len 

Source
pub fn put_nullable_array_len<B: BufMut>(
    buf: &mut B,
    len: Option<usize>,
    flexible: bool,
)
Expand description

Write a nullable array-length prefix. None encodes as −1 (non-flex) or 0 (flex).