Here's a trick that just occurred to me.
WriteString writes an integer, the length of the string, followed by the string data.
ReadString reads this back into a Blitz string.
So you could use Blitz to build a new file consisting of an integer ( the length of the original file ) followed by the original file.
Then use ReadString on this new file.
WriteString writes an integer, the length of the string, followed by the string data.
ReadString reads this back into a Blitz string.
So you could use Blitz to build a new file consisting of an integer ( the length of the original file ) followed by the original file.
Then use ReadString on this new file.