dns-txt.d.ts 300 B

12345678910
  1. /// <reference types="node" />
  2. import KeyValue from './KeyValue';
  3. export declare class DnsTxt {
  4. private binary;
  5. constructor(opts?: KeyValue);
  6. encode(data?: KeyValue): Buffer[];
  7. decode(buffer: Buffer): KeyValue;
  8. decodeAll(buffer: Array<Buffer>): KeyValue;
  9. }
  10. export default DnsTxt;