mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 18:29:39 +02:00
Getting ready for WebRTC
This commit is contained in:
parent
018f5d1f12
commit
132249f01a
310 changed files with 37290 additions and 661 deletions
20
node_modules/socket.io-parser/build/esm-debug/binary.d.ts
generated
vendored
Normal file
20
node_modules/socket.io-parser/build/esm-debug/binary.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
/**
|
||||
* 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;
|
Loading…
Add table
Add a link
Reference in a new issue