Package: effect
Module: SchemaGetter
Encodes a Uint8Array or string to a Base64 string.
Details
The getter is pure and never fails.
Example (Encoding to Base64)
import { SchemaGetter } from "effect"
const encode = SchemaGetter.encodeBase64<Uint8Array>()
See
decodeBase64 for the inverse operation to Uint8ArraydecodeBase64String for the inverse operation to stringencodeBase64Url for the URL-safe variantSignature
declare const encodeBase64: <E extends Uint8Array | string>() => Getter<string, E>
Since v4.0.0