Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Hello thanks for replying, I've tried using a class with only instance variables as a structure and writing it out using the serializable interface thingy with ObjectOutputStream but the file format looked very different from the Delphi or C created flatfile I'm trying to read. Hopefully I've just got it wrong somewhere along the line. I'd be grateful for an example. Also, no one seems to know the answer to this one - how does Java cope with packed records? Its seems so straightforward in Delphi, you just declare your structure as a "packed record". In C I think you wrap your struct with #pragma pack(1). Cheers
Replies: |
Sponsored Links
|