def final.sig

bend-kit-postgres@0.3.0.0 · scram.bend:222

import bend-kit-postgres@0.3.0.0/scram.bend as Scram
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

222def final.sig(m: Maybe<&1, Bytes.Bytes>) -> Result<&1, &1, U32 & String, String>:
223  match m:
224    case None{}:
225      Fail{(22, "SCRAM server signature is not base64")}
226    case Some{b}:
227      Done{Bytes.to_string(b)}

Uses (8)

Used by (1)