Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/packet/mod.ts>SOA#encode

An abstract-encoding compliant module for encoding / decoding DNS packets, for Deno.
Go to Latest
method SOA.prototype.encode
import { SOA } from "https://deno.land/x/packet@2023.11.10/mod.ts";

Parameters

data
optional
buf
optional
offset