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
It's sometimes very handy to be able to get constant field values in encoders. Consider following composite type:
<composite name="Price"> <type name="mantissa" primitiveType="int64"/> <type name="exponent" primitiveType="int8" presence="constant">-7</type> </composite>
If you encode some price value given in double, you need to know the value of the exponent, but now there is no way to get it from an encoder.
double
The text was updated successfully, but these errors were encountered:
[Java] Generate getters for constant properties in decoders. Issue #531.
84a8261
No branches or pull requests
It's sometimes very handy to be able to get constant field values in encoders. Consider following composite type:
If you encode some price value given in
double
, you need to know the value of the exponent, but now there is no way to get it from an encoder.The text was updated successfully, but these errors were encountered: