This project uses bit manipulation to do limited types of compression and single byte key character (XOR) manipulation. Both VB.Net and C# versions are available.
There are two files associated either the VB.Net version (ANibbleOfAByte) or the C# version (CSharpNibbleOfAByte) that can be downloaded. One is a .exe that demonstrates various kinds of vb.net bit manipulation. (Both the C# and VB.Net exe's are available.) The other file is a .zip of the entire project. The .zip includes a standalone vb.net class (NibbleAndByte) that may be used in other vb.net applications if desired.
Virtually all functionality of the demo app derives from the NibbleAndByte class. This class may be added to VB.Net or C# applications that require compression of numeric, non-repeating data with a limited set of delimiters.
The most appropriate application for this design is in compressing delimited numeric data. The compression rate for such data will consistently be at 50%.
Be the first to post a review of A Nibble of a Byte!