|
-
Jan 26th, 2015, 10:48 PM
#1
Thread Starter
Member
[RESOLVED] How does VB.Net store variables in a binary file?
I have an object variable that I want to store in a binary file. If I give the object variable a number, it will store it without a header. If it is a short string it will store a one-byte header with the length of the string. However, I am not sure what it does with long strings.
I gave it a 868 byte string (as an example) which is equivalent to
64 03 in hexadecimal (in my hex editor)
But the header it gave was:
E4 06
Three bits are different. I can understand the 6 turning into an E, but not the rest.
Also, if you were to store binary data, like say a picture in an object variable would it have a header of some kind?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|