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
Bytecodec needs to support marshalling signed integers, this is currently done in shimmeringbee/zcl so some knowledge can be transfered.
shimmeringbee/zcl
The text was updated successfully, but these errors were encountered:
Correction, the code that's has support for signed ints is the bitbuffer in bytecodec.
https://github.com/shimmeringbee/bytecodec/blob/master/bitbuffer/int.go#L17
This might just be a case of adding catches for the reflection types in marshalValue/unmarshalValue, and calling the right bitbuffer function.
Needs tests, and beer after dealing with 2's complement negative numbers in tests.
Sorry, something went wrong.
No branches or pull requests
Bytecodec needs to support marshalling signed integers, this is currently done in
shimmeringbee/zcl
so some knowledge can be transfered.The text was updated successfully, but these errors were encountered: