Difference between revisions of "String"

From owdev
Jump to: navigation, search
(Created page with "Simple text container. struct container { uint64 offset; // offset to string uint64 size; // if zero, it's NULL terminated char* string; // }")
 
m
 
Line 2: Line 2:
  
 
   struct container {
 
   struct container {
     uint64 offset; // offset to string
+
     uint64 offset;     // offset to string
     uint64 size;   // if zero, it's NULL terminated
+
     uint32 size;       // if zero, it's NULL terminated
     char*  string; //
+
    uint32 references; // number of $ references
 +
     char*  string;     //
 
   }
 
   }

Latest revision as of 17:59, 3 June 2016

Simple text container.

 struct container {
   uint64 offset;     // offset to string
   uint32 size;       // if zero, it's NULL terminated
   uint32 references; // number of $ references
   char*  string;     //
 }