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

Function uint8ArrayToHex

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

Source from the content-addressed store, hash-verified

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

Callers 1

encryptEnvVarsFunction · 0.70

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected