you can read/write every element in binary form, but you still have to do it element by element, because vectors can't simply be written to disk.