mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 20:21:01 +00:00
1 line
1.7 KiB
Plaintext
1 line
1.7 KiB
Plaintext
{"dependencies":[],"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.bufferToU8a = bufferToU8a;\n /**\n * @name bufferToU8a\n * @summary Creates a Uint8Array value from a Buffer object.\n * @description\n * `null` inputs returns an empty result, `Buffer` values return the actual value as a `Uint8Array`. Anything that is not a `Buffer` object throws an error.\n * @example\n * <BR>\n *\n * ```javascript\n * import { bufferToU8a } from '@polkadot/util';\n *\n * bufferToU8a(Buffer.from([1, 2, 3]));\n * ```\n */\n function bufferToU8a(buffer) {\n return new Uint8Array(buffer || []);\n }\n});","lineCount":25,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"bufferToU8a"],[7,21,3,19],[7,24,3,22,"bufferToU8a"],[7,35,3,33],[8,2,4,0],[9,0,5,0],[10,0,6,0],[11,0,7,0],[12,0,8,0],[13,0,9,0],[14,0,10,0],[15,0,11,0],[16,0,12,0],[17,0,13,0],[18,0,14,0],[19,0,15,0],[20,0,16,0],[21,0,17,0],[22,2,18,0],[22,11,18,9,"bufferToU8a"],[22,22,18,20,"bufferToU8a"],[22,23,18,21,"buffer"],[22,29,18,27],[22,31,18,29],[23,4,19,4],[23,11,19,11],[23,15,19,15,"Uint8Array"],[23,25,19,25],[23,26,19,26,"buffer"],[23,32,19,32],[23,36,19,36],[23,38,19,38],[23,39,19,39],[24,2,20,0],[25,0,20,1],[25,3]],"functionMap":{"names":["<global>","bufferToU8a"],"mappings":"AAA;ACiB;CDE"},"hasCjsExports":true},"type":"js/module"}]} |