Saturday, 31 August 2013

How to use unit8array in javascript?

How to use unit8array in javascript?

Accorting to this answer's comment, I would like to use Unit8Array to
achieve the same thing:
var bin = parseInt('1000', 2); //=8
I mean:
inputs are:
length = 4
digits = 1000
and after some TypedArray magic the output will be:
8

No comments:

Post a Comment