MCPcopy Create free account
hub / github.com/Effect-TS/effect / encodeBase64

Function encodeBase64

packages/effect/src/SchemaGetter.ts:1537–1539  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1535 * @since 4.0.0
1536 */
1537export function encodeBase64<E extends Uint8Array | string>(): Getter<string, E> {
1538 return encodeWithWellFormedString(Base64.encode)
1539}
1540
1541/**
1542 * Encodes a `Uint8Array` or string to a URL-safe Base64 string.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected