amis-rpc-design/node_modules/bonjour-service/dist/lib/dns-txt.d.ts

11 lines
300 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
/// <reference types="node" />
import KeyValue from './KeyValue';
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;