-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Clarify PackedByteArray.decompress*
limitations with external data
#81689
Conversation
5ec4de2
to
1451a71
Compare
PackedByteArray.decompress*
limitations with external data
ac940b3
to
078b24e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have suffered from the lack of clarity on this before. I agree with your suggestion to add a warning to the user, I don't know how often runtime warnings are created but we should consider adding one for this case.
078b24e
to
4850b86
Compare
Thanks! |
Thank you! |
Cherry-picked for 4.2.2. |
Cherry-picked for 4.1.4. |
Might clarify further that it returns an empty array if it fails, and considering adding error messages to the
decompress
method to make it more visible to the user.