diff options
Diffstat (limited to 'node_modules/locutus/php/strings/bin2hex.js.map')
-rw-r--r-- | node_modules/locutus/php/strings/bin2hex.js.map | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/node_modules/locutus/php/strings/bin2hex.js.map b/node_modules/locutus/php/strings/bin2hex.js.map deleted file mode 100644 index 7bac440..0000000 --- a/node_modules/locutus/php/strings/bin2hex.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../src/php/strings/bin2hex.js"],"names":["module","exports","bin2hex","s","i","l","o","n","length","charCodeAt","toString"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,OAAT,CAAkBC,CAAlB,EAAqB;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,CAAJ;AACA,MAAIC,CAAJ;AACA,MAAIC,IAAI,EAAR;AACA,MAAIC,CAAJ;;AAEAJ,OAAK,EAAL;;AAEA,OAAKC,IAAI,CAAJ,EAAOC,IAAIF,EAAEK,MAAlB,EAA0BJ,IAAIC,CAA9B,EAAiCD,GAAjC,EAAsC;AACpCG,QAAIJ,EAAEM,UAAF,CAAaL,CAAb,EACDM,QADC,CACQ,EADR,CAAJ;AAEAJ,SAAKC,EAAEC,MAAF,GAAW,CAAX,GAAe,MAAMD,CAArB,GAAyBA,CAA9B;AACD;;AAED,SAAOD,CAAP;AACD,CAzBD","file":"bin2hex.js","sourcesContent":["module.exports = function bin2hex (s) {\n // discuss at: http://locutus.io/php/bin2hex/\n // original by: Kevin van Zonneveld (http://kvz.io)\n // bugfixed by: Onno Marsman (https://twitter.com/onnomarsman)\n // bugfixed by: Linuxworld\n // improved by: ntoniazzi (http://locutus.io/php/bin2hex:361#comment_177616)\n // example 1: bin2hex('Kev')\n // returns 1: '4b6576'\n // example 2: bin2hex(String.fromCharCode(0x00))\n // returns 2: '00'\n\n var i\n var l\n var o = ''\n var n\n\n s += ''\n\n for (i = 0, l = s.length; i < l; i++) {\n n = s.charCodeAt(i)\n .toString(16)\n o += n.length < 2 ? '0' + n : n\n }\n\n return o\n}\n"]}
\ No newline at end of file |