3 lines
298 B
TypeScript
Executable file
3 lines
298 B
TypeScript
Executable file
import { Packet, RawData } from "./commons.js";
|
|
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;
|