home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Planet Source Code Jumbo …e CD Visual Basic 1 to 7
/
5_2007-2008.ISO
/
data
/
Zips
/
Web_Based_2066535202007.psc
/
CompressionWizard
/
Compressions.bas
Wrap
BASIC Source File
|
2007-05-19
|
998b
|
43 lines
Attribute VB_Name = "Compressions"
Option Explicit
Public Enum CompressMethods
RLE = 1
RLE_Loop = 2
LZW = 3
End Enum
#If False Then
Private RLE, RLE_Loop, LZW
#End If
Private CompressArray() As Byte
Private PosStream() As Byte
Private DistStream() As Byte
Private ContStream() As Byte
Private LengthStream() As Byte
Private OutStream() As Byte
Private OutPos As Long
Private PosPos As Long
Private DistPos As Long
Private ReadBitPos As Integer
Private CntPos As Long
Private CntByteBuf As Integer
Private CntBitCount As Integer
Private LengthPos As Long
Private Dict() As String
Private AddDict As Integer
Private addDictPos As Integer
Private MaxDictBitPos As Integer
Private MaxDict As Integer
Private NowBitLength As Integer
Private UsedDicts As Integer
Private Const DictionarySize As Long = 3
Private Dep eam() As Byte
Private LengthStream() As Byte
Private OutStream() As BAs Long = 3
PrivatedDicts As Int1am() As BAs LCg = 3
Privat