QQ Browser Android 5.8 version of the Uint8array API has a bug

Source: Internet
Author: User

When you call new Uint8array (), the QQ browser will return directly to the parameter list.

For example, New Uint8array (a) will return [a],
For example, new Uint8array (A, B) will return [A, b],
For example, new Uint8array (A, B, c) will return [A, B, C],

You can only change all the items in the project to Uint8array to Int8array. This bug,ios will not appear on Android.

If you use Protobuf.js, you can download a non-confusing version of the changes to GitHub.

For the need to read the value of the resolution, you can simply convert Int8 to Uint8, the code is as follows:

var function (v) {        ifreturn  v;         Else return v +n;    };

QQ Browser Android 5.8 version of the Uint8array API has a bug

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.