MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / bytesToHex

Function bytesToHex

packages/worker-utils/src/callback-token.ts:21–23  ·  view source on GitHub ↗
(bytes: Uint8Array)

Source from the content-addressed store, hash-verified

19}
20
21function bytesToHex(bytes: Uint8Array): string {
22 return Array.from(bytes, byte => byte.toString(16).padStart(2, '0')).join('');
23}
24
25function equalLengthStringsMatch(expected: string, actual: string): boolean {
26 if (expected.length !== actual.length) {

Callers 1

deriveCallbackTokenFunction · 0.85

Calls 2

joinMethod · 0.80
toStringMethod · 0.65

Tested by

no test coverage detected