Struct member alignment for external data formats??
Kagamin
spam at here.lot
Fri Nov 14 06:15:40 PST 2008
Tony Wrote:
> I'm reading a very old feature list of D and it says that D has struct
> member alignment control "to ensure compatibility with externally imposed
> data formats". So, questions: 1. How does one use that?
align attribute
> 2. Is it accepted
> practice in D programming to write/read structs to/fro, say a disk file,
> without marshalling?
It's easy to use feature. Custom serialization is needed on a higher level, say when saving "document".
More information about the Digitalmars-d
mailing list