MCPcopy Create free account
hub / github.com/bytebase/bytebase / decodeBase64ToUUID

Function decodeBase64ToUUID

frontend/src/utils/sqlResult.ts:45–48  ·  view source on GitHub ↗
(base64Encoded: string)

Source from the content-addressed store, hash-verified

43};
44
45const decodeBase64ToUUID = (base64Encoded: string): string => {
46 const uint8Array = new Uint8Array(base64ToArrayBuffer(base64Encoded));
47 return stringify(uint8Array);
48};
49
50const flattenNoSQLColumn = (value: unknown): unknown => {
51 if (typeof value !== "object") {

Callers 1

flattenNoSQLColumnFunction · 0.85

Calls 1

base64ToArrayBufferFunction · 0.85

Tested by

no test coverage detected