def auth.data
import bend-kit-postgres@0.3.0.0/codec.bend as Codecimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
561def auth.data(k: U32, +code: U32, r: Cur & Bytes.Bytes) -> Cur & Back:
562 match k:
563 case 11:
564 (c, d) = r
565 (c, AuthSASLContinue{d})
566 case 12:
567 (c, d) = r
568 (c, AuthSASLFinal{d})
569 case _:
570 (c, d) = r
571 (c, AuthOther{code, d})