MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / uint8ArrayToHex

Function uint8ArrayToHex

sdk/js/src/encrypt-env-vars.browser.ts:15–19  ·  view source on GitHub ↗
(buffer: Uint8Array)

Source from the content-addressed store, hash-verified

13}
14
15function uint8ArrayToHex(buffer: Uint8Array) {
16 return Array.from(buffer)
17 .map((byte: number) => byte.toString(16).padStart(2, "0"))
18 .join("");
19}
20
21export interface EnvVar {
22 key: string

Callers 1

encryptEnvVarsFunction · 0.70

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected