Closed penn5 closed 5 years ago
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I signed it!
) and we'll verify it.
ℹ️ Googlers: Go here for more info.
I signed it.
BytesIO is used if no length is provided, so the correct type here is bytes. Also binary images are often flashed, and especially the Android bootimage header contains 0x80 which cannot be decoded in the default codec for 'r' type, which is default.