def random.of

bend-kit-oauth2@0.11.0.1 · oauth2.bend:253

import bend-kit-oauth2@0.11.0.1/oauth2.bend as Oauth2
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

253def random.of(r: Result<&1, &1, U32 & String, U32 & Array<U32>>) -> Result<&1, &1, Err, String>:
254  match r:
255    case Fail{(c, why)}:
256      Fail{ErrCrypto{c, why}}
257    case Done{(len, buf)}:
258      Done{b64url(Bytes.Bytes{len, buf})}

Uses (9)

Used by (2)