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
#2
Don't you HAVE to use fixed length strings in Binary?

I don't see why it's a problem anyways.
=/
Reply
#3
Makes sense, I still don't see why it's that big of a deal though.
It can't use up very much filesize.

>.>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)