{"_id":"@walletconnect/encoding","_rev":"33-ead51cd770dc1c66954bb57599498c6c","name":"@walletconnect/encoding","dist-tags":{"beta":"1.0.0-beta.1","latest":"1.0.2"},"versions":{"1.0.0-beta.1":{"name":"@walletconnect/encoding","version":"1.0.0-beta.1","keywords":["encoding","utils","utf8","hex","buffer","uint8array","arraybuffer","number","padLeft"],"author":{"name":"WalletConnect","email":"walletconnect.org"},"license":"MIT","_id":"@walletconnect/encoding@1.0.0-beta.1","maintainers":[{"name":"pedrouid","email":"pedrogomes94@gmail.com"}],"homepage":"https://github.com/walletconnect/walletconnect-utils","bugs":{"url":"https://github.com/walletconnect/walletconnect-utils/issues"},"dist":{"shasum":"9ec2e849b52659585b1ba7e6e801b527f4863339","tarball":"https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.0-beta.1.tgz","fileCount":13,"integrity":"sha512-iMN3/g+/7AhB06ZnFEc17/3nnGftMJy/+7W1k97+vxpCLa123VBbliR27wRPdAV9mbHpMXs18rc7uhiaGnGEDA==","signatures":[{"sig":"MEUCIQDmXMY8qKyZDCdw7j9Hx7xEQ2MInI34pFSoQQfDdd7tbwIgZBkYItbvzy7D0NWd9/ufdNmsSNVheWEwiDVfCVQfpkA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":169613,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/o8dCRA9TVsSAnZWagAAIGQQAIjsy24sSE08sNncpZIT\nC+OwRZD8fcYDLW4O33cCpWXneEB/BsngYFVBX0VBhYp10ySxPYOXngDDw+Bq\nMUN6b//9szIp/Zk6nvy1tQ+tz6LyzmHB9aXHkLJ3WRze6OYV3Tb3eZcBt5KR\n3mZ5bWT3vYBzS+TYWO/bxxizMUpgce2gs+w7p8saOMNb5aBM0d7pbUAGxFHV\n6OUGy3/UXooWzOwvhoo+tD1q0Gxa18odk3OkICOFqufPR08Oksuzk0ipXZaD\n1ee9SCN4EKs59kzsLkoEPku8FDwW10Wye89RBTWEt1MM+sge6JyuPjaW7Q+z\nsFZcgNROtmxRDuueJ+JZ2UNMT0HcJwsNm3rotdD1b+uKHbMkplWL7c33gFVV\ncpeqRcLG30mPaMRiaslQX4bFp+2o66GXVWjvoIFUypYnEFOdfKWM6vb/vxXd\nP4AKYIJDwU6k5PLFxt08LJa4oeou1qYE6lJS2f/KEXlYB75Gh5t8lJmIjC2k\ntd60NZhr5nkWhPa5S9OSrQnBrhqIqWYBg4S2Rthe5NpxOLfHaZFk3HkorxV7\nU5oGEI9tngCCD1j3KG9Y2VsFbEYuuEy043z+/CSQAaXlqYaA2ILS0bm382bl\nz/0LTOUBPN90vKzupdmAFlaJkrve88aO63C1uIFyR8fzoF9qd1eHxHuv1prO\nI4VW\r\n=oXuL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","husky":{"hooks":{"pre-commit":"run-s lint"}},"types":"dist/cjs/index.d.ts","unpkg":"dist/umd/index.min.js","scripts":{"lint":"eslint -c '../../.eslintrc' --fix './src/**/*.ts'","test":"env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --exit -r ts-node/register ./test/**/*.test.ts","build":"run-s clean build:cjs build:esm build:umd ","clean":"rm -rf dist","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","build:umd":"webpack"},"_npmUser":{"name":"pedrouid","email":"pedrogomes94@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":false,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/walletconnect/walletconnect-utils.git","type":"git"},"_npmVersion":"7.9.0","description":"Byte encoding utils","directories":{},"_nodeVersion":"16.2.0","dependencies":{"is-typedarray":"1.0.0","typedarray-to-buffer":"3.1.5"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.0","tslib":"^1.10.0","webpack":"^4.41.6","typescript":"^3.7.5","@types/jest":"^26.0.15","@types/node":"^14.14.7","webpack-cli":"^3.3.11"},"_npmOperationalInternal":{"tmp":"tmp/encoding_1.0.0-beta.1_1627295517132_0.09583315858517838","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@walletconnect/encoding","version":"1.0.0","keywords":["encoding","utils","utf8","hex","buffer","uint8array","arraybuffer","number","padLeft"],"author":{"name":"WalletConnect","email":"walletconnect.org"},"license":"MIT","_id":"@walletconnect/encoding@1.0.0","maintainers":[{"name":"pedrouid","email":"pedrogomes94@gmail.com"}],"homepage":"https://github.com/walletconnect/walletconnect-utils","bugs":{"url":"https://github.com/walletconnect/walletconnect-utils/issues"},"dist":{"shasum":"e24190cb5e803526f9dfd7191fb0e4dc53c6d864","tarball":"https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.0.tgz","fileCount":13,"integrity":"sha512-4nkJFnS0QF5JdieG/3VPD1/iEWkLSZ14EBInLZ00RWxmC6EMZrzAeHNAWIgm+xP3NK0lqz+7lEsmWGtcl5gYnQ==","signatures":[{"sig":"MEYCIQC2+qffOCEb4uMXUFVt5V7ZovgbnhPPYVGSRvwZIMZUJgIhAKC8VcSXe6uuTFrz9y2gkxhppS+xxyMaQWKKCRKrq/qg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":168793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAZPQCRA9TVsSAnZWagAA9LUP/RqrmDQiFmfrHcRtKDjV\nb4AXjvDLdalgq/8J3/Y8uLx64OoR6n8i+MzQ+U93FcE/AobqdubepZWk6qDb\nmVdwyUNUjOdUMMlCIExNvwA869tVKvJLYBZIzU8eEzBGyUFCBwD6VUUHEGzY\n0jnHoGqxLTtNDsrH/IWFTyq4mtgXIwSMKyfYgjNBc9Evr4Qv9l5ApWVyq+Rm\nEAVor/WX6TYfpLbIP6Hw0gXyy6hpbio/Le2gnIwGENoW160ytN7YzD9BuP5y\nHCY6Hjd8QPpds4IAt9shVWhl+NPAnatNfcWKJG9nS8eFZXrieR2Yak7VedWJ\nx5uzWwV/Y9wGq0kD8VCiVyYakQPL/SHgxYHarCiA5R6ZWPCJfrr+GllbFMnP\nqLh0ogwzqzquA6wgaTEZNGzxHlKhqp/pJna9q+H4YNWzRko3PdOlS3FzUeXk\nJQMdI4oJioKEkdbp/MH7E7iLkES16SyV1DFYNtL8dOgcyshq5tgkE+ye/gCO\n5DUQLbtYNulCXSuID0lg6zAD+csSjKFX9hCeYDMegGvDzNwIwPbz1sqMDcI7\ngMGsMLvBazbh+Ft3Yi4WF2F1rEVNqYLnm8c6ZEXOLOASLGVB193GPj7e409m\nqYs6NR9ORtde3Mcl2xoLWvm3YjAaudVjKkdEIpHBccuV2sOJFD9HvXBeiw3R\naGgw\r\n=5Kvn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","husky":{"hooks":{"pre-commit":"run-s lint"}},"types":"dist/cjs/index.d.ts","unpkg":"dist/umd/index.min.js","scripts":{"lint":"eslint -c '../../.eslintrc' --fix './src/**/*.ts'","test":"env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --exit -r ts-node/register ./test/**/*.test.ts","build":"run-s clean build:cjs build:esm build:umd ","clean":"rm -rf dist","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","build:umd":"webpack"},"_npmUser":{"name":"pedrouid","email":"pedrogomes94@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":false,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/walletconnect/walletconnect-utils.git","type":"git"},"_npmVersion":"7.9.0","description":"Byte encoding utils","directories":{},"_nodeVersion":"16.2.0","dependencies":{"is-typedarray":"1.0.0","typedarray-to-buffer":"3.1.5"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.0","tslib":"^1.10.0","webpack":"^4.41.6","typescript":"^3.7.5","@types/jest":"^26.0.15","@types/node":"^14.14.7","webpack-cli":"^3.3.11"},"_npmOperationalInternal":{"tmp":"tmp/encoding_1.0.0_1627493328090_0.2757988723303475","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@walletconnect/encoding","version":"1.0.1","keywords":["encoding","utils","utf8","hex","buffer","uint8array","arraybuffer","number","padLeft"],"author":{"name":"WalletConnect","email":"walletconnect.org"},"license":"MIT","_id":"@walletconnect/encoding@1.0.1","maintainers":[{"name":"sbc64","email":"sbc64@pm.me"},{"name":"iljadoesdev","email":"ilja@walletconnect.com"},{"name":"bkrem","email":"ben.kremer@hotmail.co.uk"},{"name":"pedrouid","email":"pedrogomes94@gmail.com"}],"homepage":"https://github.com/walletconnect/walletconnect-utils","bugs":{"url":"https://github.com/walletconnect/walletconnect-utils/issues"},"dist":{"shasum":"93c18ce9478c3d5283dbb88c41eb2864b575269a","tarball":"https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz","fileCount":13,"integrity":"sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA==","signatures":[{"sig":"MEUCIQDKO5adnOfBYtUrF25qk+HmTz66R2cKotq8sBkZqT58KwIgJxfZXTBCkNmnY/8v/orqpYMh1lbRJNI2JtuDtn0TQ90=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":174803,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiL1fRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrExg//cDi+UTRaeymu5U9hTBj7jSMBJ9Bjv64pLIarSz2Bxqs+ZvEt\r\nioOZ3Nm5eSXtFw0xKNa16nUEPrbrL4CKikm5tQwCRUIWJvdL4je62OvJ89kN\r\nWjSE10cRQusqiIeOz/wqtvYjDUdxQMAekrGC8XPhxFr5SIvGA7ftfSPjIVaw\r\n9MPocwYlTHX3aP0WW/0n8U26NQpHrh83olzztEErBZMWcc4aqO6qRAeWVYTz\r\nri3VeKHbYB0SKuN4ekx5giweY4BAIjM8mGl17tQLkM6M0+Bp6vPO53a7opP2\r\nKocgZU4OP6oFQxzFfYMKwE+zb9ZqH/LAOAA71gIO7z6x4kjROjCx8tfc9ypR\r\nRwA4csW9EfMS0w1EIJkFCct+biX1sMCzzzBh08Bq86UIg6YkvSCmrV1WEaAq\r\nou6qmOjqPFXqgy91RjNQbapfr+dHR/Owd8W4xmGL9vkEatIvv4IiIXdj0mMI\r\nYFpJyse3yfniiAQ31GQdVXXv4Ddvajy9UsRu73nwb5EzCc9098LHnxaY9dzi\r\n3VCJIeI/bhi+CFha3+rTA0sO+KQ1CIljZlO69Ir9my7Kb9h2GrUvYxNSZdtg\r\nAZHNGLZ3sATxUlJ73JL2AeYkuaklWn+bwXaQQu7MzeDI8+okB0ypXoEJG76+\r\ng/hLJak1/zdUrFimAxT2sQ4Y7lRc/6/1Vak=\r\n=LaaO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","husky":{"hooks":{"pre-commit":"run-s lint"}},"types":"dist/cjs/index.d.ts","unpkg":"dist/umd/index.min.js","module":"dist/esm/index.js","gitHead":"54ab47cd3b27b28247c2cdf7c0731bc9de0afc84","scripts":{"lint":"eslint -c '../../.eslintrc' --fix './src/**/*.ts'","test":"env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --exit -r ts-node/register ./test/**/*.test.ts","build":"run-s clean build:cjs build:esm build:umd ","clean":"rm -rf dist","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","build:umd":"webpack"},"_npmUser":{"name":"pedrouid","email":"pedrogomes94@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":false,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/walletconnect/walletconnect-utils.git","type":"git"},"_npmVersion":"8.1.2","description":"Byte encoding utils","directories":{},"_nodeVersion":"16.13.0","dependencies":{"is-typedarray":"1.0.0","typedarray-to-buffer":"3.1.5"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.0","tslib":"^1.10.0","webpack":"^4.41.6","typescript":"^3.7.5","@types/jest":"^26.0.15","@types/node":"^14.14.7","webpack-cli":"^3.3.11"},"_npmOperationalInternal":{"tmp":"tmp/encoding_1.0.1_1647269841314_0.43263618538114446","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@walletconnect/encoding","version":"1.0.2","keywords":["encoding","utils","utf8","hex","buffer","uint8array","arraybuffer","number","padLeft"],"author":{"name":"WalletConnect, Inc.","email":"walletconnect.com"},"license":"MIT","_id":"@walletconnect/encoding@1.0.2","maintainers":[{"name":"crypblizz","email":"tom.terado@gmail.com"},{"name":"devceline","email":"celinesarafa@gmail.com"},{"name":"gancho_walletconnect","email":"gancho@walletconnect.com"},{"name":"sbc64","email":"sbc64@pm.me"},{"name":"iljadoesdev","email":"ilja@walletconnect.com"},{"name":"bkrem","email":"ben.kremer@hotmail.co.uk"},{"name":"pedrouid","email":"pedrogomes94@gmail.com"}],"homepage":"https://github.com/walletconnect/walletconnect-utils","bugs":{"url":"https://github.com/walletconnect/walletconnect-utils/issues"},"dist":{"shasum":"cb3942ad038d6a6bf01158f66773062dd25724da","tarball":"https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.2.tgz","fileCount":14,"integrity":"sha512-CrwSBrjqJ7rpGQcTL3kU+Ief+Bcuu9PH6JLOb+wM6NITX1GTxR/MfNwnQfhLKK6xpRAyj2/nM04OOH6wS8Imag==","signatures":[{"sig":"MEUCIEsQB/EJ9bPBJhIUonCRu2athsVc6TKf1kJ0wE5u+6WqAiEArCXR4NbY/mWfKX6tfBi7yKuUGeqeeoisbVp3gwOvtGE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":293902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgJV2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8chAAkTlQ/xKr1AZxdO4a2sLpRVPiqIhH+MUAznAK3dKGEOeP0gH2\r\n0q2qcXUWof8fnZfBgE3ejk7ZMubPlGV/MO2pvPYb0BO/puPAvc4assr5fAeq\r\npqSCfZqLYEr1eL8l9B77rKOLH7piUlcNeNADamvbXKMAqPWE5FRlg1OF/qlh\r\neyAtBDo+6+z5DGAEk32w5h3Jyf26Ts/GOs/qvqUsurRbcRQPMrRArImi4ClS\r\nI3YWErP5CP45Hmbw3IJZCvza0XP9ZydS2joQVNmdlRdK0++aAcFBKxQxjM9G\r\ne5Vux2v3+JhdSIycd3gqb8p/I+/50AcBT4UW8HO12gzrYXiVDlvSYrHr/Hv4\r\nfhuLq90KkrDJkZ1xtjNHodmiQdZOvlL2bjSPf/S6RDt45UERKciY9k1LFD99\r\nVNOX0gvfuXys47ExaCA4I2sf2i7a70lZ7f0w3top2fZjQhrtCeCny22Hsk8g\r\npXc0ribre/kAHCixEL3TN6+5cJDMSeTVl486y90s0UXe0B8xJ4xwkru8gmHT\r\nZ1MQTSXdf7yPCy4deHc0KgzBa7OGfIiUBu2S4kK4QCBy5vH+Hnm3FogdZaO0\r\nXCU3C2QnJ6Suwtb6TBX8mBAeGv5HyPKlvNXE37VCJowHkYlq/xXDOywjjGad\r\nlJcbk4pYr5U/khmnOAnKF8pbAUl6ktwHd2Y=\r\n=SmOJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","husky":{"hooks":{"pre-commit":"run-s lint"}},"types":"dist/cjs/index.d.ts","unpkg":"dist/umd/index.min.js","module":"dist/esm/index.js","gitHead":"81bc9b0859b6875d35697177ec21e2d01457403b","scripts":{"lint":"eslint -c '../../.eslintrc' --fix './src/**/*.ts'","test":"env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts","build":"run-s clean build:cjs build:esm build:umd ","clean":"rm -rf dist","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","build:umd":"webpack"},"_npmUser":{"name":"bkrem","email":"ben.kremer@hotmail.co.uk"},"prettier":{"semi":true,"printWidth":80,"singleQuote":false,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/walletconnect/walletconnect-utils.git","type":"git"},"_npmVersion":"8.19.1","description":"Byte encoding utils","directories":{},"_nodeVersion":"16.17.0","dependencies":{"tslib":"1.14.1","is-typedarray":"1.0.0","typedarray-to-buffer":"3.1.5"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.0","webpack":"^4.41.6","typescript":"^3.7.5","@types/jest":"^26.0.15","@types/node":"^14.14.7","webpack-cli":"^3.3.11"},"_npmOperationalInternal":{"tmp":"tmp/encoding_1.0.2_1669371254272_0.39978576251379194","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-07-26T10:31:57.077Z","modified":"2026-04-10T15:04:45.862Z","1.0.0-beta.1":"2021-07-26T10:31:57.274Z","1.0.0":"2021-07-28T17:28:48.488Z","1.0.1":"2022-03-14T14:57:21.439Z","1.0.2":"2022-11-25T10:14:14.450Z"},"bugs":{"url":"https://github.com/walletconnect/walletconnect-utils/issues"},"author":{"name":"WalletConnect, Inc.","email":"walletconnect.com"},"license":"MIT","homepage":"https://github.com/walletconnect/walletconnect-utils","keywords":["encoding","utils","utf8","hex","buffer","uint8array","arraybuffer","number","padLeft"],"repository":{"url":"git+https://github.com/walletconnect/walletconnect-utils.git","type":"git"},"description":"Byte encoding utils","maintainers":[{"email":"alexanderderekrein@gmail.com","name":"cyberdrk"},{"email":"npm-org@reown.com","name":"reown-npm-org"}],"readme":"# @walletconnect/encoding [![npm version](https://badge.fury.io/js/@walletconnect/encoding.svg)](https://badge.fury.io/js/@walletconnect/encoding)\n\nByte encoding utils\n\n## API\n\n```typescript\n// -- Buffer --------------------------------------------- //\n\nfunction bufferToUtf8(buf: Buffer): string;\nfunction bufferToHex(buf: Buffer, prefixed?: boolean): string;\nfunction bufferToArray(buf: Buffer): Uint8Array;\nfunction bufferToNumber(buf: Buffer): number;\nfunction bufferToBinary(buf: Buffer): string;\n\n// -- Utf8 ----------------------------------------------- //\n\nfunction utf8ToBuffer(utf8: string): Buffer;\nfunction utf8ToHex(utf8: string, prefixed?: boolean): string;\nfunction utf8ToArray(utf8: string): Uint8Array;\nfunction utf8ToNumber(utf8: string): number;\nfunction utf8ToBinary(utf8: string): string;\n\n// -- Hex ------------------------------------------------ //\n\nfunction hexToBuffer(hex: string): Buffer;\nfunction hexToUtf8(hex: string): string;\nfunction hexToArray(hex: string): Uint8Array;\nfunction hexToNumber(hex: string): number;\nfunction hexToBinary(hex: string): string;\n\n// -- Uint8Array ----------------------------------------- //\n\nfunction arrayToBuffer(arr: Uint8Array): Buffer;\nfunction arrayToUtf8(arr: Uint8Array): string;\nfunction arrayToHex(arr: Uint8Array, prefixed?: boolean): string;\nfunction arrayToNumber(arr: Uint8Array): number;\nfunction arrayToBinary(arr: Uint8Array): string;\n\n// -- Number ---------------------------------------- //\n\nfunction numberToBuffer(num: number): Buffer;\nfunction numberToUtf8(num: number): string;\nfunction numberToHex(num: number, prefixed?: boolean): string;\nfunction numberToArray(num: number): Uint8Array;\nfunction numberToBinary(num: number): string;\n\n// -- Binary ----------------------------------------------- //\n\nfunction binaryToBuffer(bin: string): Buffer;\nfunction binaryToArray(bin: string): Uint8Array;\nfunction binaryToHex(bin: string | string, prefixed?: boolean): string;\nfunction binaryToUtf8(bin: string): string;\nfunction binaryToNumber(bin: string): number;\n\n// -- Validators ----------------------------------------- //\n\nfunction isBinaryString(str: any): boolean;\nfunction isHexString(str: any, length?: number): boolean;\nfunction isBuffer(val: any): boolean;\nfunction isTypedArray(val: any): boolean;\nfunction isArrayBuffer(val: any): boolean;\n\nfunction getType(val: any);\nfunction getEncoding(str: string);\n\n// -- Misc ----------------------------------------------- //\n\nfunction concatBuffers(...args: Buffer[]): Buffer;\nfunction concatArrays(...args: Uint8Array[]): Uint8Array;\nfunction trimLeft(data: Buffer, length: number): Buffer;\nfunction trimRight(data: Buffer, length: number): Buffer;\n\nfunction calcByteLength(length: number, byteSize: number): number;\nfunction splitBytes(str: string, byteSize: number): string[];\nfunction sanitizeBytes(str: string, byteSize: number, padding: string): string;\nfunction swapBytes(str: string): string;\nfunction swapHex(str: string): string;\n\nfunction padLeft(str: string, length: number, padding?: string): string;\nfunction padRight(str: string, length: number, padding?: string): string;\n\nfunction removeHexPrefix(hex: string): string;\nfunction addHexPrefix(hex: string): string;\nfunction sanitizeHex(hex: string): string;\nfunction removeHexLeadingZeros(hex: string): string;\n```\n","readmeFilename":"README.md"}