This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/@homebridge/ciao/lib/coder/Question.d.ts
T

20 lines
884 B
TypeScript

import { AddressInfo } from "net";
import { DNSLabelCoder } from "./DNSLabelCoder";
import { DecodedData, DNSRecord, QClass, QType } from "./DNSPacket";
export declare class Question implements DNSRecord {
private static readonly QU_MASK;
private static readonly NOT_QU_MASK;
readonly name: string;
private lowerCasedName?;
readonly type: QType;
readonly class: QClass;
unicastResponseFlag: boolean;
constructor(name: string, type: QType, unicastResponseFlag?: boolean, clazz?: QClass);
getLowerCasedName(): string;
getEncodingLength(coder: DNSLabelCoder): number;
encode(coder: DNSLabelCoder, buffer: Buffer, offset: number): number;
clone(): Question;
asString(): string;
static decode(context: AddressInfo, coder: DNSLabelCoder, buffer: Buffer, offset: number): DecodedData<Question>;
}
//# sourceMappingURL=Question.d.ts.map