PHP Classes

Variable Length Coding: Compress data using variable length encoding

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 648 This week: 1All time: 4,943 This week: 571Up
Version License Categories
vlc 1.0GNU General Publi...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: 41
All time rank: 105628 in The Netherlands The Netherlands
Week rank: 420 Up10 in The Netherlands The Netherlands Up
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:648
This week:1
All time:4,943
This week:571Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:68%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2309
 
Excellent
14 years ago (kishore kumar)
70%StarStarStarStar