-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
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
Override uint64_t generated type for bit types #47
Comments
You have roughly the following options:
|
@generalmimon thanks for the quick reply! Option 2 is certainly most elegant. I've never worked with Scala before, but I'll take a stab at it when I find some time. Thanks for linking to the lines that would need to change and for the example as well. Follow-up question: would that approach adapt to arrays as well? I.e. if I have
would a |
Given the following KSY definition:
The following C++ header is generated:
Is there anyway in the KSY file definition to make these generate as a
uint8_t
to save some space? I triedtype: b2.as<u1>
seeing something similar for arrays, but this gives me the following error:Any help or clarifications would be appreciated.
The text was updated successfully, but these errors were encountered: