(dec, bytes)
| 12817 | * @returns {string} the result. |
| 12818 | */ |
| 12819 | var decToHex = function(dec, bytes) { |
| 12820 | var hex = "", |
| 12821 | i; |
| 12822 | for (i = 0; i < bytes; i++) { |
| 12823 | hex += String.fromCharCode(dec & 0xff); |
| 12824 | dec = dec >>> 8; |
| 12825 | } |
| 12826 | return hex; |
| 12827 | }; |
| 12828 | |
| 12829 | /** |
| 12830 | * Merge the objects passed as parameters into a new one. |
no outgoing calls
no test coverage detected