The Vec writeTo(ostream& out) method should: