MCPcopy Create free account
hub / github.com/LFDT-Nightstream/Starstream / uint8ArrayToHexString

Function uint8ArrayToHexString

starstream-js/src/index.ts:225–229  ·  view source on GitHub ↗
(uint8Array: Uint8Array)

Source from the content-addressed store, hash-verified

223// Private utilities
224
225function uint8ArrayToHexString(uint8Array: Uint8Array): string {
226 return Array.prototype.map
227 .call(uint8Array, (byte) => ("0" + byte.toString(16)).slice(-2))
228 .join("");
229}

Callers 1

getIdMethod · 0.85

Calls 2

joinMethod · 0.80
callMethod · 0.45

Tested by

no test coverage detected