MCPcopy Create free account
hub / github.com/effect-app/libs / decodeHexString

Function decodeHexString

repos/effect/packages/effect/src/SchemaGetter.ts:1422–1429  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1420/**
1421 * Decodes a URL-safe Base64 string to a UTF-8 `string`.
1422 *
1423 * **Details**
1424 *
1425 * - Fails with `SchemaIssue.InvalidValue` if the input is not valid Base64Url.
1426 *
1427 * **Example** (Decoding Base64Url to string)
1428 *
1429 * ```ts import.meta.vitest
1430 * import { Effect, Option, SchemaGetter } from "effect"
1431 *
1432 * const decode = SchemaGetter.decodeBase64UrlString<string>()

Callers

nothing calls this directly

Calls 3

someMethod · 0.80
transformOrFailFunction · 0.70
failMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…