Closed JNevrly closed 3 years ago
I moved the IEEE 754 routines to pycrate_asn1rt/utils, so that it is not needed to duplicate the code. Moreover, some functions uses Charpy which is not intended to be used by functions in pycrate_core/utils. I think this is better organized like this.
I cherry-picked your 2nd commit for handling CHOICE decoding. Therefore, everything should be fine in master (I hope so).
Thanks for the PR.
Fixes the utils functions for Py2 (tested with Python2.7), additional fix for CHOICE decoding error handling.