MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / buf2hex

Function buf2hex

restore/702/utils.js:61–63  ·  view source on GitHub ↗
(buffer)

Source from the content-addressed store, hash-verified

59}
60
61function buf2hex(buffer) {
62 return Array.prototype.map.call(new Uint8Array(buffer), x => ('00' + x.toString(16)).slice(-2)).join('');
63}
64
65// Simplified version of the similarly named python module.
66var Struct = (function () {

Callers

nothing calls this directly

Calls 2

callMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected