Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Saving in Binary
#1
Well, I have a question about saving data in Binary. Storing say a string. Say my NpcRec has AttackSay as String * 255. However the string used in Npc 1 is actually only 30 characters long. The saving stores all the white space and includes all those extra bytes Sad. I am hoping somebody can tell me how to eliminate the white space. Hopefully a simple check can do it but I am expecting something complicated haha.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)