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 58%Total: 645 All time: 4,898 This week: 203Up
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: 38
All time rank: 105230 in The Netherlands The Netherlands
Week rank: 778 Up25 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:645
This week:0
All time:4,898
This week:203Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1554
 
Excellent
11 years ago (kishore kumar)
70%StarStarStarStar
 

For more information send a message to info at phpclasses dot org.