]> git.tdb.fi Git - libs/datafile.git/commit
Use custom encoding for floats in binary format
authorMikko Rasa <tdb@tdb.fi>
Thu, 2 Aug 2012 08:11:40 +0000 (11:11 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 2 Aug 2012 08:35:21 +0000 (11:35 +0300)
commit19179a622c1de88de5ed7047643eec79f285bf2a
treeb3926ceff84287c342d049e81cfff20ad614324a
parente0af585ed57bdb5b1ea4f4a415fda13b5d99d2dc
Use custom encoding for floats in binary format

This makes the binary format fully machine-independent, and provides
control over the precision of floating point values.
13 files changed:
source/binaryparser.cpp
source/binaryparser.h
source/binarywriter.cpp
source/binarywriter.h
source/binfloat.cpp [new file with mode: 0644]
source/binfloat.h [new file with mode: 0644]
source/textwriter.cpp
source/textwriter.h
source/writer.cpp
source/writer.h
source/writermode.h
tool/tool.cpp
tool/tool.h