def rr.data

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

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

182# Bound RDATA in the original packed buffer, then resume after the entire region.
183def rr.data(a: Bool, r: Bytes.Cursor & Maybe<&1, Bytes.CursorLimit>) -> Bytes.Cursor & RR:
184  (c, m) = r
185  match m:
186    case None{}:
187      (c, RRBad{})
188    case Some{limit}:
189      rr.data.some(a, c, limit)

Uses (8)

Used by (1)