Package: effect
Module: SchemaGetter
Decodes a Base64 string to a UTF-8 string.
Details
SchemaIssue.InvalidValue if the input is not valid Base64.Example (Decoding Base64 to string)
import { SchemaGetter } from "effect"
const decode = SchemaGetter.decodeBase64String<string>()
// Getter<string, string>
See
decodeBase64 to decode to Uint8Array insteadencodeBase64 for the inverse operationSignature
declare const decodeBase64String: <E extends string>() => Getter<string, E>
Since v4.0.0