Login   Register  
PHP Classes

Variable Length Coding: Compress data using variable length encoding

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-07-07 (8 years ago) RSS 2.0 feedStarStarStar 58%Total: 632 All time: 4,589 This week: 1,397Up
Version License Categories  
vlc 1.0GNU General Public Lice...Compression
Description Author  

This class can be used to compress and uncompress data using the variable length encoding.

It can read a stream of data and pack it using an pure PHP implementation of the variable length encoding algorithm.

It can also do the opposite reading a variable length encoded stream of data and unpack it to restore the original uncompressed data.

Innovation Award  
PHP Programming Innovation award nominee
July 2006
Number 9
Variable length coding is a compression algorithm that is not very efficient for compressing arbitrary data.

However, it can be very efficient for compressing data with long sequences of repeated data.

This class provides an PHP implementation of the variable length coding algorithm. It can be useful when the data to compress is conveniently arranged.

Since it is a pure PHP based implementation, it may also be useful when the special PHP extensions that implement more efficient algorithms are not available.

Manuel Lemos
Picture of Robin
Name: Robin <contact>
Classes: 3 packages by
Country: The Netherlands The Netherlands
Age: 31
All time rank: 100329 in The Netherlands The Netherlands
Week rank: 1803 Down46 in The Netherlands The Netherlands Down
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file vlc.class.php Class Variable Bit Coding class
Accessible without login Plain text file example.php Example Example usage

 Version Control Unique User Downloads Download Rankings  
 0%Total:632All time:4,589
 This week:0This week:1,397Up
User Ratings User Comments (1)  
 All time
5 years ago (kishore kumar)