Difference between revisions of "7BITSTR"

From SimsWiki
Jump to: navigation, search
Line 3: Line 3:
 
The length of the string is Encoded 7 bits at a time before the string
 
The length of the string is Encoded 7 bits at a time before the string
  
seethe fourth post in this thread:
+
see the fourth post in this thread: http://www.datgen.info/forums/thread.aspx?forumid=13&threadid=48
http://www.datgen.info/forums/thread.aspx?forumid=13&threadid=48
+
  
 
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:Modding]]

Revision as of 03:24, 13 June 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

see the fourth post in this thread: http://www.datgen.info/forums/thread.aspx?forumid=13&threadid=48

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.

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox