-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathbrotli.stub.php
58 lines (43 loc) · 1.48 KB
/
brotli.stub.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
namespace {
function brotli_compress(string $data, int $quality = BROTLI_COMPRESS_LEVEL_DEFAULT, int $mode = BROTLI_GENERIC): string|false {}
function brotli_uncompress(string $data, int $length = 0): string|false {}
/**
* @return resource|false
*/
function brotli_compress_init(int $quality = BROTLI_COMPRESS_LEVEL_DEFAULT, int $mode = BROTLI_GENERIC) {}
/**
* @param resource $context
*/
function brotli_compress_add($context, string $data, int $mode = BROTLI_FLUSH): string|false {}
/**
* @return resource|false
*/
function brotli_uncompress_init() {}
/**
* @param resource $context
*/
function brotli_uncompress_add($context, string $data, int $mode = BROTLI_FLUSH): string|false {}
}
namespace Brotli {
function compress(string $data, int $quality = \BROTLI_COMPRESS_LEVEL_DEFAULT, int $mode = \BROTLI_GENERIC): string|false {}
function ncompress(string $data, int $length = 0): string|false {}
/**
* @return resource|false
*/
function compress_init(int $quality = \BROTLI_COMPRESS_LEVEL_DEFAULT, int $mode = \BROTLI_GENERIC) {}
/**
* @param resource $context
*/
function compress_add($context, string $data, int $mode = \BROTLI_FLUSH): string|false {}
/**
* @return resource|false
*/
function uncompress_init() {}
/**
* @param resource $context
*/
function uncompress_add($context, string $data, int $mode = \BROTLI_FLUSH): string|false {}
}
#if defined(PHP_WIN32) || defined(HAVE_DNS_SEARCH_FUNC)
#endif