def crypto.bytes

bend-kit-jwt@0.11.0.1 · jwt.bend:422

import bend-kit-jwt@0.11.0.1/jwt.bend as Jwt
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

422def crypto.bytes(r: Result<&1, &1, U32 & String, U32 & Array<U32>>) -> Result<&1, &1, Err, Bytes.Bytes>:
423  match r:
424    case Fail{(c, w)}:
425      Fail{Crypto{c, w}}
426    case Done{(n, b)}:
427      Done{Bytes.Bytes{n, b}}

Uses (8)

Used by (3)