def hex

mylsm-lsm-store@0.6.0.1 · src/hub_sha/core.bend:3610

import mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend as Core
import Base

3610# Handle hex in the SHA-256 compression implementation.
3611def hex(ws: List<&2, U32>) -> String:
3612  match ws:
3613    case Nil{}:
3614      ""
3615    case w <> t:
3616      hex_word(w) ++ hex(t)

Uses (5)

Used by (1)