def head.flags

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

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

307def head.flags(r: Bytes.Cursor & Maybe<&2, U32>) -> Maybe<&2, String>:
308  (c, m) = r
309  match m:
310    case None{}:
311      None{}
312    case Some{f}:
313      head.flags.if(flags.ok(f), c)

Uses (8)

Used by (1)