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

x/packet/mod.ts>RP#encode

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

Parameters

data
optional
buf
optional
offset