pub fn write_array<S, T>(
    stream: &mut S,
    values: &Option<Vec<T, Global>>
) -> Result<usize, StatusCode> where
    S: Write,
    T: BinaryEncoder<T>, 
Expand description

Write an array of the encoded type to stream, preserving distinction between null array and empty array