ja, that's the method I use.
anyways, reading and writing blocks of data on stream is same as writing the whole file.
the data goes in, one by one, in BYTES.
thus, there is no other vartype basically available than ints ([for kixtart, LONG] with the current requested method)
but, as variant supports other types too, it can take string input (in form of character array)

anyways, the data is always to be byte ordered and if not huge overheat wanted, the array way is the only way to do it efficiently.
_________________________
!

download KiXnet