Struct wrtie/read compleated (also stream)