JonD #1 There is nothing wrong with writestring - it is supposed to put an integer before the string (4 bytes). This is so that when you use readstring, it knows how many bytes to grab from the file or stream.