Hi,
I'm trying object serialization with the RandomAccess class.
Problem is: there are 3 initialization methods for a RandomAccess class
- first two suppose serialization is to bedone to a file
- the third allows serialization to a byte array
How would I know what the length of a serialized object is before initializing the RandomAccessFile ?
Thanks.
I'm trying object serialization with the RandomAccess class.
Problem is: there are 3 initialization methods for a RandomAccess class
- first two suppose serialization is to bedone to a file
- the third allows serialization to a byte array
How would I know what the length of a serialized object is before initializing the RandomAccessFile ?
Thanks.