encode_vec_u16

Function encode_vec_u16 

Source
pub fn encode_vec_u16<T: Codec>(bytes: &mut Vec<u8>, items: &[T])
Expand description

encode a Vec whose length is encoded in 2 bytes