This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Convert from Mozilla's LZ4 format to LZ4 v1.3 | |
* | |
* @link https://dxr.mozilla.org/mozilla-central/source/toolkit/components/lz4/lz4.js | |
* @link https://github.com/lz4/lz4 | |
* @link https://github.com/lz4/lz4/blob/master/doc/lz4_Frame_format.md#legacy-frame | |
* | |
* @param string $input File content in Mozilla's LZ4 format |