def name.skip

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

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

155# §2.3.4: a name is at most 255 octets, so retain the 128-step limit.
156def name.skip(c: Bytes.Cursor) -> Bytes.Cursor & Bool:
157  name.walk(128n, name.step(Bytes.Cursor.u8(c)))

Uses (6)

Used by (2)