def hex.of
import bend-kit-sigv4@0.11.0.1/sigv4.bend as Sigv4import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
270def hex.of(r: Result<&1, &1, U32 & String, U32 & Array<U32>>) -> Result<&1, &1, U32 & String, String>:
271 match r:
272 case Fail{e}:
273 Fail{e}
274 case Done{(len, buf)}:
275 Done{Bytes.to_hex(Bytes.Bytes{len, buf})}