Is there a way to customize the way a binary writer writes out to files so that I could read the file from a C++ program?
Eg:
myBinaryWriter.Write(myInt);
myBinaryWriter.Write(myBool);
And in C++:
fread(&myInt, 1, sizeof(int), fileHandle);
fread(&myBool, 1, sizeof(bool), fileHandle);
EDIT: From what I can see, if the length of a string is small enough to fit into one byte then that's how it writes it, which is bad if I want to read it back in in C++.