We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following Testcase fails at runtime:
struct TestStruct { ubyte len; @ArrayLength("len") char[] foo; } auto decerealiser = Decerealiser([2, 1, 2]); // CerealException: "@ArrayLength of 2 units of type dchar (4 bytes) larger than remaining byte array (2 bytes)" auto ts = decerealiser.value!TestStruct; assert(ts.foo == ['\x01', '\x02']); assert(ts.foo.length == 2);
The text was updated successfully, but these errors were encountered:
I think you can blame this one on auto-decoding. I suggest using ubyte instead.
Sorry, something went wrong.
No branches or pull requests
The following Testcase fails at runtime:
The text was updated successfully, but these errors were encountered: