Package: effect
Module: SchemaGetter
Encodes a Uint8Array or string to a hexadecimal string.
Details
The getter is pure and never fails.
Example (Encoding to hex)
import { SchemaGetter } from "effect"
const encode = SchemaGetter.encodeHex<Uint8Array>()
See
decodeHex for the inverse operation to Uint8ArraydecodeHexString for the inverse operation to stringSignature
declare const encodeHex: <E extends Uint8Array | string>() => Getter<string, E>
Since v4.0.0