Code Monkey home page Code Monkey logo

develnext-gzip's Introduction

DevelNext GZip Bundle

Пакет расширений для работы gzip функциями. Есть совместимость с gz функциями оригинального php, т.е. закодированные на сервере данные можно раскодировать в DevelNext (и наоборот).

Поддерживаемые функции

/**
 * Сжимает строку в формате GZIP 
 * @param string $data Данные для сжатия
 * @link http://php.net/manual/function.gzencode.php
 */
function gzencode($data);

/**
 * Распаковывает строку, упакованную с помощью GZIP
 * @param string $data Данные для распаковки, упакованные с помощью gzencode()
 * @link http://php.net/manual/function.gzdecode.php
 */
function gzdecode($data);

/**
 * Cжимает строку используя формат данных ZLIB
 * @param string $data Данные для сжатия
 * @link http://php.net/manual/function.gzcompress.php
 */
function gzcompress($data);

/**
 * Распаковывает строку, упакованную с помощью ZLIB
 * @param string $data Данные, сжатые функцией gzcompress()
 * @link http://php.net/manual/function.gzuncompress.php
 */
function gzuncompress($data);

/**
 * Сжимает строку, используя формат данных DEFLATE
 * @param string $data Данные для сжатия
 * @link http://php.net/manual/function.gzdeflate.php
 */
function gzdeflate($data);

/**
 * Распаковывает строку, упакованную с помощью DEFLATE
 * @param string $data Данные, сжатые функцией gzdeflate()
 * @link http://php.net/manual/function.gzinflate.php
 */
function gzinflate($data);

Changelog

--- 0.1 ---
[Add] gzencode, gzdecode, gzcompress, gzuncompress, gzdeflate, gzinflate

Bugs

- Функции работают только в главном (GUI) потоке

В пакете используется библиотека zlib.js

develnext-gzip's People

Contributors

tssaltan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.