cat-bookmarker/assets/node_modules/bonjour-service/dist/lib/dns-txt.d.ts

13 lines
318 B
TypeScript
Raw Normal View History

2024-03-10 18:52:04 +00:00
/// <reference types="node" />
declare type KeyValue = {
[key: string]: any;
};
export declare class DnsTxt {
private binary;
constructor(opts?: KeyValue);
encode(data?: KeyValue): Buffer[];
decode(buffer: Buffer): KeyValue;
decodeAll(buffer: Array<Buffer>): KeyValue;
}
export default DnsTxt;