4 lines
298 B
TypeScript
Raw Normal View History

2023-10-10 22:00:26 +02:00
import { Packet, RawData } from "./commons.js";
2025-01-25 10:46:42 +01:00
export declare const encodePacket: ({ type, data }: Packet, supportsBinary: boolean, callback: (encodedPacket: RawData) => void) => void;
export declare function encodePacketToBinary(packet: Packet, callback: (encodedPacket: RawData) => void): void;