智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LightingSystemApp-serial/.svn/pristine/8a/8a4dc0e06761d51310158d3312b...

12 lines
218 B

3 years ago
exports = function(bytes) {
var words = [];
for (var i = 0, len = bytes.length; i < len; i++) {
words[i >>> 2] |= bytes[i] << (24 - (i % 4) * 8);
}
return words;
};
module.exports = exports;