Node-Red configuration
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.

index.d.ts 670B

123456789
  1. import { encodePacket } from "./encodePacket.js";
  2. import { decodePacket } from "./decodePacket.js";
  3. import { Packet, PacketType, RawData, BinaryType } from "./commons.js";
  4. declare const encodePayload: (packets: Packet[], callback: (encodedPayload: string) => void) => void;
  5. declare const decodePayload: (encodedPayload: string, binaryType?: BinaryType) => Packet[];
  6. export declare function createPacketEncoderStream(): any;
  7. export declare function createPacketDecoderStream(maxPayload: number, binaryType: BinaryType): any;
  8. export declare const protocol = 4;
  9. export { encodePacket, encodePayload, decodePacket, decodePayload, Packet, PacketType, RawData, BinaryType, };