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

Function decodeBase64UrlString

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

Source from the content-addressed store, hash-verified

1358 *
1359 * @see {@link decodeBase64} to decode to `Uint8Array` instead
1360 * @see {@link encodeBase64} for the inverse operation
1361 *
1362 * @category decoding
1363 * @since 4.0.0
1364 */
1365export function decodeBase64String<E extends string>(): Getter<string, E> {
1366 return transformOrFail((input, options) =>
1367 Result.match(Encoding.decodeBase64String(input), {
1368 onFailure: () =>
1369 Effect.fail(
1370 new SchemaIssue.InvalidValue(

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…