-
Notifications
You must be signed in to change notification settings - Fork 5
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
raw bytes elements #5
Comments
hmm.... what if we take a cue from how we determine bytes vs. elements in the length field, and if a numeric element's name is specified as |
If we have a simple method to mark that the unpacked data should be bytes vs. a number then all we need to do is skip this line in the StarStruct/starstruct/elementnum.py Line 126 in 09e12b6
|
Line 123 should probably be a |
good point, I hadn't considered having it a bytearray. |
Define an element type which allows supplying and returning bytearray values, rather than forcing bytes-like data to be fit into integer/numerical values.
The text was updated successfully, but these errors were encountered: