add .editorconfig
Fix some deserialization issues
Seems to fix unit test issues

Not sure about this being the proper way to use input ranges, though...
also test with gdc and ldc
Merge pull request #33 from msoucy/fix/unittests

Fix/unittests
Merge pull request #29 from MartinNowak/editorconfig

add .editorconfig
Merge pull request #32 from MartinNowak/travis-ci

also test with gdc and ldc
use CntRange to avoid temporary allocations

- count number of bytes before writing nested structs