You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
269 B

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