D serialization temporary fixup?

Shriramana Sharma via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Oct 22 09:15:19 PDT 2015


I wanted a D equivalent to:
http://doc.qt.io/qt-5/qdatastream.html
https://docs.python.org/3/library/pickle.html

and saw that one is under construction:
http://wiki.dlang.org/Review/std.serialization

But till it's finalized, I'd just like to have a quick but reliable way to 
store real and int data types into a binary data file and read therefrom. Is 
there such a solution? The size of the data is fixed, but especially since I 
have real values, I'd like to not write to limited fixed decimal text 
format.

-- 
Shriramana Sharma, Penguin #395953


More information about the Digitalmars-d-learn mailing list