code: function transferNumber(value, num) {
      var str = value.toString(2);
      var ary = [];
      var end = str.length;
      var start;
  
      for (var i = 1; i < num + 1; i++) {
        start = -7 * i;
        ary.push(str.slice(start, end));
        end = start;
      }
  
      ary.forEach(function(val, idx, target) {
        val = parseInt(val, 2);
        val > 0 || (val = 0);
        target[idx] = val;
      });
      return ary;
    }
docs: 2048 => [0, 16] => [0x00, 0x10]