def written
import bend-kit-dns@0.7.0.0/dns.bend as Dnsimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
39# The query buffer is allocated to its exact size before writing.
40def written(r: Bytes.Cursor & Bool) -> Bytes.Cursor:
41 (c, ok) = r
42 c