You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
503 B
TypeScript
8 lines
503 B
TypeScript
8 months ago
|
import encodePacket from "./encodePacket.js";
|
||
|
import decodePacket from "./decodePacket.js";
|
||
|
import { Packet, PacketType, RawData, BinaryType } from "./commons.js";
|
||
|
declare const encodePayload: (packets: Packet[], callback: (encodedPayload: string) => void) => void;
|
||
|
declare const decodePayload: (encodedPayload: string, binaryType?: BinaryType) => Packet[];
|
||
|
export declare const protocol = 4;
|
||
|
export { encodePacket, encodePayload, decodePacket, decodePayload, Packet, PacketType, RawData, BinaryType };
|