I am using struct to write the header of binary files. If the struct template is Header, is it ok to do:
Header.allocate();
var data1=Header.buffer();
fill data1 with my settings, and then do again
Header.allocate();
var data2=Header.buffer();
to create file number 2?