mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 22:41:02 +00:00
1 line
2.5 KiB
Plaintext
1 line
2.5 KiB
Plaintext
{"dependencies":[{"name":"../u8a/index.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":50,"index":50}}],"key":"ni7N8kFqexhxzrkt71zvvxQnrBA=","exportNames":["*"],"imports":1}},{"name":"./toU8a.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":51},"end":{"line":2,"column":42,"index":93}}],"key":"3bOyH77e/8Wc8K55bqHxvmXdM0A=","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.compactAddLength = compactAddLength;\n var _u8aIndexJs = require(_dependencyMap[0], \"../u8a/index.js\");\n var _toU8aJs = require(_dependencyMap[1], \"./toU8a.js\");\n /**\n * @name compactAddLength\n * @description Adds a length prefix to the input value\n * @example\n * <BR>\n *\n * ```javascript\n * import { compactAddLength } from '@polkadot/util';\n *\n * console.log(compactAddLength(new Uint8Array([0xde, 0xad, 0xbe, 0xef]))); // Uint8Array([4 << 2, 0xde, 0xad, 0xbe, 0xef])\n * ```\n */\n function compactAddLength(input) {\n return (0, _u8aIndexJs.u8aConcatStrict)([(0, _toU8aJs.compactToU8a)(input.length), input]);\n }\n});","lineCount":25,"map":[[7,2,15,0,"exports"],[7,9,15,0],[7,10,15,0,"compactAddLength"],[7,26,15,0],[7,29,15,0,"compactAddLength"],[7,45,15,0],[8,2,1,0],[8,6,1,0,"_u8aIndexJs"],[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,"_toU8aJs"],[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,2,15,7],[22,11,15,16,"compactAddLength"],[22,27,15,32,"compactAddLength"],[22,28,15,33,"input"],[22,33,15,38],[22,35,15,40],[23,4,16,4],[23,11,16,11],[23,15,16,11,"u8aConcatStrict"],[23,26,16,26],[23,27,16,26,"u8aConcatStrict"],[23,42,16,26],[23,44,16,27],[23,45,17,8],[23,49,17,8,"compactToU8a"],[23,57,17,20],[23,58,17,20,"compactToU8a"],[23,70,17,20],[23,72,17,21,"input"],[23,77,17,26],[23,78,17,27,"length"],[23,84,17,33],[23,85,17,34],[23,87,18,8,"input"],[23,92,18,13],[23,93,19,5],[23,94,19,6],[24,2,20,0],[25,0,20,1],[25,3]],"functionMap":{"names":["<global>","compactAddLength"],"mappings":"AAA;OCc;CDK"},"hasCjsExports":false},"type":"js/module"}]} |