.dat files

Blitz3D Forums/Blitz3D Beginners Area/.dat files

WriteString writes a four-byte header containing the length of the string (and some other info, if I recall).

It clearly mentions this in the documentation.