/var/www/greso.tech/server/nsm/node_modules/socket.io-parser/build/cjs
NameSizeModeActions
binary.d.ts6730644editdlrm
binary.js29910644editdlrm
index.d.ts21350644editdlrm
index.js105170644editdlrm
is-binary.d.ts2140644editdlrm
is-binary.js17460644editdlrm
package.json250644editdlrm
Edit: /var/www/greso.tech/server/nsm/node_modules/socket.io-parser/build/cjs/binary.d.ts (673B)
/** * Replaces every Buffer | ArrayBuffer | Blob | File in packet with a numbered placeholder. * * @param {Object} packet - socket.io event packet * @return {Object} with deconstructed packet and list of buffers * @public */ export declare function deconstructPacket(packet: any): { packet: any; buffers: any[]; }; /** * Reconstructs a binary packet from its placeholder packet and buffers * * @param {Object} packet - event packet with placeholders * @param {Array} buffers - binary buffers to put in placeholder positions * @return {Object} reconstructed packet * @public */ export declare function reconstructPacket(packet: any, buffers: any): any;