pub fn write_are_to_vec(are: &Are) -> Result<Vec<u8>, AreError>
Serializes typed ARE data into a byte vector.