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

x/packet/src/default.ts>DEFAULT#encode

An abstract-encoding compliant module for encoding / decoding DNS packets, for Deno.
Latest
method DEFAULT.prototype.encode
import { DEFAULT } from "https://deno.land/x/packet@2024.01.27/src/default.ts";

Parameters

result
optional
buf
optional
offset