Unused.
This commit is contained in:
		
							
								
								
									
										18
									
								
								core/core.js
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								core/core.js
									
									
									
									
									
								
							| @@ -815,24 +815,6 @@ function setGlobalSettings(settings) { | ||||
| 	} | ||||
| } | ||||
|  | ||||
| /** | ||||
|  * TODOC | ||||
|  * @param {*} data | ||||
|  * @param {*} bytes | ||||
|  * @returns | ||||
|  */ | ||||
| function startsWithBytes(data, bytes) { | ||||
| 	if (data.byteLength >= bytes.length) { | ||||
| 		let dataBytes = new Uint8Array(data.slice(0, bytes.length)); | ||||
| 		for (let i = 0; i < bytes.length; i++) { | ||||
| 			if (dataBytes[i] !== bytes[i] && bytes[i] !== null) { | ||||
| 				return; | ||||
| 			} | ||||
| 		} | ||||
| 		return true; | ||||
| 	} | ||||
| } | ||||
|  | ||||
| /** | ||||
|  * TODOC | ||||
|  * @param {*} response | ||||
|   | ||||
		Reference in New Issue
	
	Block a user