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

x/packet/mod.ts>PTR#encode

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

Parameters

data
optional
buf
optional
offset