cerealed icon indicating copy to clipboard operation
cerealed copied to clipboard

Powerful binary serialisation library for D

Results 5 cerealed issues
Sort by recently updated
recently updated
newest added

I see that there is a sample for serializing through base class reference: ``` Cereal.registerChildClass!ChildClass; BaseClass obj = ChildClass(3, 7); assert(obj.cerealise == [0, 0, 0, 3, 0, 0, 0, 7]);...

bug
enhancement
helpwanted

Cerealed seems to have no support for different byte orders. The library should clearly support both little and big endian.

The following Testcase fails at runtime: ``` D struct TestStruct { ubyte len; @ArrayLength("len") char[] foo; } auto decerealiser = Decerealiser([2, 1, 2]); // CerealException: "@ArrayLength of 2 units of...

This broken down testcase doesn't compile, as long there is a alias this. ``` D struct TestStruct { char[] txt; alias txt this; } auto decerealiser = Decerealiser([0, 2, 0x90,...

Is it possible to serialize private fields of classes and structs ?