Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

byte number to array js

function readInt(array) {
    var value = 0;
    for (var i = 0; i < array.length; i++) {
        value = (value * 256) + array[i];
    }
    return value;
}
Source by www.codeproject.com #
 
PREVIOUS NEXT
Tagged: #byte #number #array #js
ADD COMMENT
Topic
Name
2+2 =