effect-io-ai

Package: effect
Module: SchemaGetter

SchemaGetter.decodeHexString

Decodes a hexadecimal string to a UTF-8 string.

Details

Example (Decoding hex to string)

import { SchemaGetter } from "effect"

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

See

Signature

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

Source

Since v4.0.0