pub fn read_next_exact<R: Read, T: StacksMessageCodec + Sized>( fd: &mut R, num_items: u32) -> Result<Vec<T>, Error>