def body.go

bend-kit-dns@0.7.0.0 · dns.bend:271

import bend-kit-dns@0.7.0.0/dns.bend as Dns
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

271def body.go(+an: U32, r: Bytes.Cursor & Bool) -> Maybe<&2, String>:
272  (c, ok) = r
273  match ok:
274    case False{}:
275      None{}
276    case True{}:
277      answers.scan(U32.to_nat(an), rr(c))

Uses (10)

Used by (1)