You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Took me a bit to figure this out, so this might be useful for others.
Please consider mentioning something like this in the docstring of the find method of the TPI stream:
Note: if the type index is less than the minimum_index of the TPI stream (usually 0x1000), the type is determined by matching the type index against a predefined mapping of primitive types.
For example, 0x0022 corresponds to a 32-bit unsigned value.
This is an implementation detail, but it might save someone time when debugging. Before figuring it out, I suspected a parsing error in my code or an issue with the library, then an error in the internal code.
Note that I'm not using the type finder for the reasons mentioned in this comment, so others are less likely to bump into this. But I still think it might be a good thing to document.
The text was updated successfully, but these errors were encountered:
Took me a bit to figure this out, so this might be useful for others.
Please consider mentioning something like this in the docstring of the
find
method of the TPI stream:This is an implementation detail, but it might save someone time when debugging. Before figuring it out, I suspected a parsing error in my code or an issue with the library, then an error in the internal code.
Note that I'm not using the type finder for the reasons mentioned in this comment, so others are less likely to bump into this. But I still think it might be a good thing to document.
The text was updated successfully, but these errors were encountered: