[Circle] Suggestion for crossplatform binary format

From: Jack Wilson (deejay@cu-online.com)
Date: 08/13/96

>I think that this problem has to do with diffences in the size and 
>structure of the way the 2 os's save binary data with fwrite().

Yeah, which gives me an idea.

Why not prefix every Circle binary file with a 32 bit integer (such
as 0x01020304).  If, when the file is loaded, the driver detects that
the number is not equal to 16909060 (decimal for 0x01020304), it will
know that the file was saved in a different format than the driver 
is currently using, so it can convert.

Sure would save a lot of people some headaches... 

[----- Jack Wilson ------- mailto:deejay@cu-online.com ----------------]
[--- Home page: http://www.cu-online.com/~deejay/ ---------------------]
[- PGP fingerprint:  99 C9 B7 A3 C4 72 DD 87  72 CF 67 50 63 48 D0 6D -]
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |

This archive was generated by hypermail 2b30 : 12/07/00 PST