I'm writing a binary file that contains a header followed by the data. The header contains the length of the data.
The data is written first, skipping past the header.
Once done, I would like to update the data length in the header (something easily done in C). Mathematica won't let me use SetStreamPosition as the stream is opened for output.
Does anyone have a suggestion?