PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2006-07-07 (10 years ago) RSS 2.0 feedStarStarStar 58%Total: 641 All time: 4,761 This week: 1,069Up
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
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:641
This week:0
All time:4,761
This week:1,069Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1339
 
Excellent
7 years ago (kishore kumar)
70%StarStarStarStar