UNPKG

@ndn/packet

Version:

NDNts: Network Layer Packets

12 lines (11 loc) 405 B
import { type Decoder, Encoder } from "@ndn/tlv"; import type { Arrayable } from "type-fest"; import { Name, type NameLike } from "./name/mod.js"; /** ForwardingHint in Interest. */ export declare class FwHint { static decodeValue(vd: Decoder): FwHint; constructor(copy?: FwHint); constructor(delegations: Arrayable<NameLike>); delegations: Name[]; encodeTo(encoder: Encoder): void; }