Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/b0/da86deae5810a09a5be1d510b5001e5ac4599c504f037c85bba78111556004a5407fa7
T
2025-10-24 02:46:57 +00:00

1 line
2.6 KiB
Plaintext

{"dependencies":[{"name":"../hex/toU8a.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":43,"index":43}}],"key":"+4cLSDrTfGaFuXGIJ+ri9ymsHCg=","exportNames":["*"],"imports":1}},{"name":"./toHex.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":44},"end":{"line":2,"column":41,"index":85}}],"key":"puuv6C2iWJZ20ysI34XiPJE4VbU=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n exports.numberToU8a = numberToU8a;\n var _hexToU8aJs = require(_dependencyMap[0], \"../hex/toU8a.js\");\n var _toHexJs = require(_dependencyMap[1], \"./toHex.js\");\n /**\n * @name numberToU8a\n * @summary Creates a Uint8Array object from a number.\n * @description\n * `null`/`undefined`/`NaN` inputs returns an empty `Uint8Array` result. `number` input values return the actual bytes value converted to a `Uint8Array`. With `bitLength`, it converts the value to the equivalent size.\n * @example\n * <BR>\n *\n * ```javascript\n * import { numberToU8a } from '@polkadot/util';\n *\n * numberToU8a(0x1234); // => [0x12, 0x34]\n * ```\n */\n function numberToU8a(value, bitLength = -1) {\n return (0, _hexToU8aJs.hexToU8a)((0, _toHexJs.numberToHex)(value, bitLength));\n }\n});","lineCount":27,"map":[[7,2,17,0,"exports"],[7,9,17,0],[7,10,17,0,"numberToU8a"],[7,21,17,0],[7,24,17,0,"numberToU8a"],[7,35,17,0],[8,2,1,0],[8,6,1,0,"_hexToU8aJs"],[8,17,1,0],[8,20,1,0,"require"],[8,27,1,0],[8,28,1,0,"_dependencyMap"],[8,42,1,0],[9,2,2,0],[9,6,2,0,"_toHexJs"],[9,14,2,0],[9,17,2,0,"require"],[9,24,2,0],[9,25,2,0,"_dependencyMap"],[9,39,2,0],[10,2,3,0],[11,0,4,0],[12,0,5,0],[13,0,6,0],[14,0,7,0],[15,0,8,0],[16,0,9,0],[17,0,10,0],[18,0,11,0],[19,0,12,0],[20,0,13,0],[21,0,14,0],[22,0,15,0],[23,0,16,0],[24,2,17,7],[24,11,17,16,"numberToU8a"],[24,22,17,27,"numberToU8a"],[24,23,17,28,"value"],[24,28,17,33],[24,30,17,35,"bitLength"],[24,39,17,44],[24,42,17,47],[24,43,17,48],[24,44,17,49],[24,46,17,51],[25,4,18,4],[25,11,18,11],[25,15,18,11,"hexToU8a"],[25,26,18,19],[25,27,18,19,"hexToU8a"],[25,35,18,19],[25,37,18,20],[25,41,18,20,"numberToHex"],[25,49,18,31],[25,50,18,31,"numberToHex"],[25,61,18,31],[25,63,18,32,"value"],[25,68,18,37],[25,70,18,39,"bitLength"],[25,79,18,48],[25,80,18,49],[25,81,18,50],[26,2,19,0],[27,0,19,1],[27,3]],"functionMap":{"names":["<global>","numberToU8a"],"mappings":"AAA;OCgB;CDE"},"hasCjsExports":false},"type":"js/module"}]}