2 encoding stream brotli static
6 class_exists("http\\Encoding\\Stream\\Enbrotli", false) or die("SKIP need brotli support");
12 $file = file_get_contents(__FILE__);
14 http\Encoding\Stream\Debrotli::decode(
15 http\Encoding\Stream\Enbrotli::encode(
16 $file, http\Encoding\Stream\Enbrotli::MODE_GENERIC
21 http\Encoding\Stream\Debrotli::decode(
22 http\Encoding\Stream\Enbrotli::encode(
23 $file, http\Encoding\Stream\Enbrotli::MODE_TEXT
28 http\Encoding\Stream\Debrotli::decode(
29 http\Encoding\Stream\Enbrotli::encode(
30 $file, http\Encoding\Stream\Enbrotli::MODE_FONT