Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/packet/mod.ts>Name#encode

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

Parameters

str
optional
buf
optional
offset