Saves the database contents to the specified output stream buffer. Database contents are saved as a .dwg file of the latest supported version.