def body.qd

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

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

288def body.qd(r: Bytes.Cursor & Maybe<&2, U32>) -> Maybe<&2, String>:
289  (c, m) = r
290  match m:
291    case None{}:
292      None{}
293    case Some{qd}:
294      body.an(qd, Bytes.Cursor.u16be(c))

Uses (8)

Used by (1)