def hex_digit_kind

qasim-bend-kit@0.1.0.2 · libs/AES256GCM.bend:174

import qasim-bend-kit@0.1.0.2/libs/AES256GCM.bend as AES256GCM
import Base

174# Canonical lowercase hexadecimal envelope serialization.
175def hex_digit_kind(+n: U32, decimal: Bool) -> Char:
176    match decimal:
177        case True{}: Chr{U32.add(48, n)}
178        case False{}: Chr{U32.add(87, n)}

Uses (4)

Used by (1)