• Post Reply Bookmark Topic Watch Topic
  • New Topic

B&S Question on instructions  RSS feed

 
John Mattman
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Part of my instructions says

All text values, and all fields (which are text only), contain only 8 bit characters, null terminated if less than the maximum length for the field.

Is null terminated means add spaces at the end

for example "JOE DOE "
(or)

add null for example

"Joe Doenullnull"
Thanks,
 
Gennadi Oreper
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello John!

May be you get the answer in the topic "(B&S)I think I corrupted my Datafile".

Quote: "it means that according to the specs each string is ended with a \0 (ascii value 0)."

more info:
http://forum.java.sun.com/thread.jspa?threadID=394966&messageID=1713573

Regards,
Gennadi
 
John Mattman
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Gennadi Oreper. Your reply is helpful.

John
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!