effect-io-ai

Package: effect
Module: SchemaGetter

SchemaGetter.decodeBase64UrlString

Decodes a URL-safe Base64 string to a UTF-8 string.

Details

Example (Decoding Base64Url to string)

import { SchemaGetter } from "effect"

const decode = SchemaGetter.decodeBase64UrlString<string>()
// Getter<string, string>

See

Signature

declare const decodeBase64UrlString: <E extends string>() => Getter<string, E>

Source

Since v4.0.0