RLE (Run Length Encoding) is a very simple compression algorithm, mainly used
for streams of data with strings of repeating characters. Please note that you
might find different, not compatible implementations.
:
:
- LastCompressionRatio as Double: Well, exactly
that, the compression achieved in the last operation. The algorithm calculates
it both on compression and decompression. It's given in the form Output Size /
Input Size, so the smaller it is the better.
- LastCount as Double: Time that the last
operation took, given in seconds.
:
- Compress (arrInput() As Byte, arrOutput() As
Byte): Takes data from arrInput and
compressed it to arrOutput.
- UnCompress (arrInput() As Byte, arrOutput() As
Byte): Takes compressed data from arrInput
and decompresses it to arrOutput.
|
(2 Kb) |