antocuni / capnpy

Other
45 stars 26 forks source link

WIP: Default bytes behind end of segment to 0 #64

Open OndrejSlamecka opened 1 year ago

OndrejSlamecka commented 1 year ago

The capnp documentation implies this is the correct behaviour and without this commit asserts would fail on structs encoded with the C++ encoder.

However, at this moment, this commit is just a suggestion for the purpose of a discussion, before proceeding it requires a cleanup and new tests.