Difference between revisions of "7BITSTR"
From SimsWiki
(Small reformat, removed link to nonexistant thread, added category, etc. Still needs cleaning) |
|||
| Line 1: | Line 1: | ||
| − | {{OldWikiEntry}} | + | {{OldWikiEntry}} |
| − | The | + | String encoding format used in The Sims and The Sims2. |
| − | + | The length of the string is Encoded 7 bits at a time before the string. | |
If you use .NET for developing you can simply read those 7-Bit length encoded Strings with the builtin readString() Method of the BinaryReader Stream. | If you use .NET for developing you can simply read those 7-Bit length encoded Strings with the builtin readString() Method of the BinaryReader Stream. | ||
| − | + | [[Category:Modding]] | |
| + | [[Category:InternalFormats]] | ||
Revision as of 23:43, 3 August 2006
This article is imported from the old MTS2 wiki. You can help Sims2Wiki by cleaning it up. It's original page with comments can be found at http://old_wiki.modthesims2.com/7BITSTR
String encoding format used in The Sims and The Sims2.
The length of the string is Encoded 7 bits at a time before the string.
If you use .NET for developing you can simply read those 7-Bit length encoded Strings with the builtin readString() Method of the BinaryReader Stream.