rpatel
04-25-2003, 03:20 PM
I have an byte array that is stored in a file. I want to store this byte array and also another object in the file.
The question I have is:
I want to store an object in this file with the byte array, so when I do this, it stores the byte array and the object.
But the problem that I get is for some weird reason it won't let me open the object, the byte array opens fine but it gives me an error when opening the object?
any help or is this possible? or should I make the byte array part of that object, If I do this, how would I open the byte array?
an easier way of explaining this would be here.....
turn something to a byte array -> store into a file
save an object -> store into that same file
now how would I decode the byte array or how would the code know whats the object and whats the byte array.
Thanks
The question I have is:
I want to store an object in this file with the byte array, so when I do this, it stores the byte array and the object.
But the problem that I get is for some weird reason it won't let me open the object, the byte array opens fine but it gives me an error when opening the object?
any help or is this possible? or should I make the byte array part of that object, If I do this, how would I open the byte array?
an easier way of explaining this would be here.....
turn something to a byte array -> store into a file
save an object -> store into that same file
now how would I decode the byte array or how would the code know whats the object and whats the byte array.
Thanks