def answer

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

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

330# The IPv4 address the response gives for the query with this id.
331def answer(id: U32, msg: Bytes.Bytes) -> Maybe<&2, String>:
332  head.id(id, Bytes.Cursor.u16be(Bytes.Cursor.new(msg)))

Uses (7)

Used by (1)