亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? comp_combiner.bas

?? 常用加密算法用VB來實現
?? BAS
?? 第 1 頁 / 共 2 頁
字號:
    ContCount = ContCount * 256 + ByteArray(3)
    InData = Int(ContCount / 8) + InCont
    If ContCount / 8 <> Int(ContCount / 8) Then
        InData = InData + 1
    End If
    ContBitCount = 0
    OutPos = 0
    Do While ContHad < ContCount
        GoSub Check_ContBitCount
        If (ContData And 2 ^ ContBitCount) > 0 Then
            'read compression size
            CombSize = 0
            For X = 0 To 1
                CombSize = CombSize * 2
                GoSub Check_ContBitCount
                If (ContData And 2 ^ ContBitCount) > 0 Then CombSize = CombSize + 1
            Next
            'read compressed byte en decompress it
            bitcount = 8
            NewByte = 0
            CombSize = CombVal(CombSize)
            For X = 1 To 24 / CombSize
                For Y = 1 To CombSize
                    bitcount = bitcount - 1
                    NewByte = NewByte * 2
                    If (ByteArray(InData) And 2 ^ bitcount) > 0 Then NewByte = NewByte + 1
                    If bitcount = 0 Then
                        bitcount = 8
                        InData = InData + 1
                    End If
                Next
                GoSub OutPutNewByte
                NewByte = 0
            Next
        Else
            NewByte = ByteArray(InData)
            InData = InData + 1
            GoSub OutPutNewByte
        End If
    Loop
    OutPos = OutPos - 1
    ReDim ByteArray(OutPos)
    For X = 0 To OutPos
        ByteArray(X) = OutStream(X)
    Next
    Exit Sub

Check_ContBitCount:
    ContBitCount = ContBitCount - 1
    ContHad = ContHad + 1
    If ContBitCount = -1 Then
        ContData = ByteArray(InCont)
        InCont = InCont + 1
        ContBitCount = 7
    End If
    Return

OutPutNewByte:
    If OutPos > UBound(OutStream) Then
        ReDim Preserve OutStream(OutPos + 100)
    End If
    OutStream(OutPos) = NewByte
    OutPos = OutPos + 1
    Return

End Sub

Public Sub Compress_CombinerVariable(ByteArray() As Byte)
    Dim ContStream() As Byte
    Dim OutStream() As Byte
    Dim ContByte As Byte
    Dim ContPos As Long
    Dim ContCount As Long
    Dim ContBitCount As Integer
    Dim OutPos As Long
    Dim InpPos As Long
    Dim FileLength As Long
    Dim Byte1 As Byte
    Dim Byte2 As Byte
    Dim NewByte As Byte
    Dim NewLen As Long
    Dim NumBytes As Integer
    Dim X As Long
    Dim Y As Integer
    Dim Z As Integer
    Dim Combine As Boolean
    Dim BetterComb As Boolean
    Dim CombSize As Integer
    Dim CombVal As Integer
    Dim CombBits(15) As Integer
    Dim CombBytes(15) As Integer
    Dim bitcount As Integer
    FileLength = UBound(ByteArray)
    ReDim ContStream((FileLength / 8) + 1)
    ReDim OutStream(FileLength)
    CombBits(0) = 3: CombBytes(0) = 16
    CombBits(1) = 2: CombBytes(1) = 12
    CombBits(2) = 1: CombBytes(2) = 8
    CombBits(3) = 4: CombBytes(3) = 14
    CombBits(4) = 2: CombBytes(4) = 8
    CombBits(5) = 4: CombBytes(5) = 12
    CombBits(6) = 3: CombBytes(6) = 8
    CombBits(7) = 4: CombBytes(7) = 10
    CombBits(8) = 4: CombBytes(8) = 8
    CombBits(9) = 2: CombBytes(9) = 4
    CombBits(10) = 4: CombBytes(10) = 6
    CombBits(11) = 6: CombBytes(11) = 12
    CombBits(12) = 4: CombBytes(12) = 4
    CombBits(13) = 6: CombBytes(13) = 8
    CombBits(14) = 4: CombBytes(14) = 2
    CombBits(15) = 6: CombBytes(15) = 4
    InpPos = 0
    OutPos = 0
    ContPos = 0
    ContByte = 0
    ContBitCount = 0
    ContCount = 0
    bitcount = 0
    Do While InpPos <= FileLength
        NumBytes = 1
'check for an option
        For X = 0 To 15
            Combine = False
            If InpPos + CombBytes(X) <= FileLength Then
                Combine = True
                CombSize = CombBits(X)
                For Y = 0 To CombBytes(X) - 1
                    If ByteArray(InpPos + Y) >= 2 ^ CombSize Then
                        Combine = False
                        Exit For
                    End If
                Next
            End If
            If Combine = True Then
                CombVal = X
                Exit For
            End If
        Next
        If Combine = True Then
'check if there is maybe a better option
            For X = 1 To CombBytes(CombVal) - 1
                For Y = 0 To CombVal - 1
                    BetterComb = False
                    If InpPos + X + CombBytes(Y) - 1 <= FileLength Then
                        BetterComb = True
                        For Z = 0 To CombBytes(Y) - 1
                            If ByteArray(InpPos + X + Z) >= (2 ^ CombBits(Y)) Then
                                BetterComb = False
                                Exit For
                            End If
                        Next
                    End If
                    If BetterComb = True Then
                        If (CombBytes(Y) * (8 - CombBits(Y)) - X - (CombBytes(CombVal) - CombBytes(Y))) > (CombBytes(CombVal) * (8 - CombBits(CombVal))) Then
                            NumBytes = X + 1
                            Combine = False
                            Exit For
                        End If
                    End If
                Next
                If Combine = False Then
                    Exit For
                End If
            Next
        End If
        For Z = 1 To NumBytes
            If Combine = False Then
                ContByte = ContByte * 2
                ContBitCount = ContBitCount + 1
                ContCount = ContCount + 1
                GoSub Store_ContByte
                OutStream(OutPos) = ByteArray(InpPos)
                OutPos = OutPos + 1
                InpPos = InpPos + 1
            Else
                'opslaan controle byte
                ContByte = ContByte * 2 + 1
                ContBitCount = ContBitCount + 1
                ContCount = ContCount + 1
                GoSub Store_ContByte
                For X = 3 To 0 Step -1
                    ContByte = ContByte * 2
                    If (CombVal And 2 ^ X) > 0 Then ContByte = ContByte + 1
                    ContBitCount = ContBitCount + 1
                    ContCount = ContCount + 1
                    GoSub Store_ContByte
                Next
                'opslaan databytes
                NewByte = 0
                bitcount = 0
                For X = 1 To CombBytes(CombVal)
                    For Y = CombSize - 1 To 0 Step -1
                        NewByte = NewByte * 2
                        bitcount = bitcount + 1
                        If (ByteArray(InpPos) And 2 ^ Y) > 0 Then NewByte = NewByte + 1
                        If bitcount = 8 Then
                            OutStream(OutPos) = NewByte
                            OutPos = OutPos + 1
                            bitcount = 0
                            NewByte = 0
                        End If
                    Next
                    InpPos = InpPos + 1
                Next
            End If
        Next
    Loop
    If ContBitCount > 0 Then
        Do While ContBitCount < 8
            ContByte = ContByte * 2
            ContBitCount = ContBitCount + 1
        Loop
        If ContPos > UBound(ContStream) Then ReDim Preserve ContStream(ContPos + 1)
        ContStream(ContPos) = ContByte
        ContPos = ContPos + 1
    End If
    ContPos = ContPos - 1
    OutPos = OutPos - 1
    If UBound(ByteArray) < 3 Then
        ReDim Preserve ByteArray(3)
    End If
    ByteArray(0) = Int(ContCount / &H1000000) And &HFF
    ByteArray(1) = Int(ContCount / &H10000) And &HFF
    ByteArray(2) = Int(ContCount / &H100) And &HFF
    ByteArray(3) = ContCount And &HFF
    InpPos = 4
    For X = 0 To ContPos
        If InpPos > UBound(ByteArray) Then
            ReDim Preserve ByteArray(InpPos + 100)
        End If
        ByteArray(InpPos) = ContStream(X)
        InpPos = InpPos + 1
    Next
    For X = 0 To OutPos
        If InpPos > UBound(ByteArray) Then
            ReDim Preserve ByteArray(InpPos + 100)
        End If
        ByteArray(InpPos) = OutStream(X)
        InpPos = InpPos + 1
    Next
    ReDim Preserve ByteArray(InpPos - 1)
    Exit Sub
    
Store_ContByte:
    If ContBitCount = 8 Then
        If ContPos > UBound(ContStream) Then ReDim Preserve ContStream(ContPos + 100)
        ContStream(ContPos) = ContByte
        ContByte = 0
        ContPos = ContPos + 1
        ContBitCount = 0
    End If
    Return

End Sub

Public Sub DeCompress_CombinerVariable(ByteArray() As Byte)
    Dim OutStream() As Byte
    Dim InCont As Long
    Dim InData As Long
    Dim ContData As Integer
    Dim ContCount As Long
    Dim ContBitCount As Long
    Dim ContHad As Long
    Dim FileLength As Long
    Dim NewByte As Byte
    Dim OutPos As Long
    Dim X As Long
    Dim Y As Integer
    Dim CombVal As Integer
    Dim CombSize As Integer
    Dim bitcount As Integer
    Dim CombBits(15) As Integer
    Dim CombBytes(15) As Integer
    CombBits(0) = 3: CombBytes(0) = 16
    CombBits(1) = 2: CombBytes(1) = 12
    CombBits(2) = 1: CombBytes(2) = 8
    CombBits(3) = 4: CombBytes(3) = 14
    CombBits(4) = 2: CombBytes(4) = 8
    CombBits(5) = 4: CombBytes(5) = 12
    CombBits(6) = 3: CombBytes(6) = 8
    CombBits(7) = 4: CombBytes(7) = 10
    CombBits(8) = 4: CombBytes(8) = 8
    CombBits(9) = 2: CombBytes(9) = 4
    CombBits(10) = 4: CombBytes(10) = 6
    CombBits(11) = 6: CombBytes(11) = 12
    CombBits(12) = 4: CombBytes(12) = 4
    CombBits(13) = 6: CombBytes(13) = 8
    CombBits(14) = 4: CombBytes(14) = 2
    CombBits(15) = 6: CombBytes(15) = 4
    FileLength = UBound(ByteArray)
    ReDim OutStream(FileLength)
    ContHad = 0
    InCont = 4
    ContCount = ByteArray(0)
    ContCount = ContCount * 256 + ByteArray(1)
    ContCount = ContCount * 256 + ByteArray(2)
    ContCount = ContCount * 256 + ByteArray(3)
    InData = Int(ContCount / 8) + InCont
    If ContCount / 8 <> Int(ContCount / 8) Then
        InData = InData + 1
    End If
    ContBitCount = 0
    OutPos = 0
    Do While ContHad < ContCount
        GoSub Check_ContBitCount
        If (ContData And 2 ^ ContBitCount) > 0 Then
            'read compression size
            CombVal = 0
            For X = 0 To 3
                CombVal = CombVal * 2
                GoSub Check_ContBitCount
                If (ContData And 2 ^ ContBitCount) > 0 Then CombVal = CombVal + 1
            Next
            'read compressed byte en decompress it
            bitcount = 8
            NewByte = 0
            CombSize = CombBytes(CombVal)
            For X = 1 To CombSize
                For Y = 1 To CombBits(CombVal)
                    bitcount = bitcount - 1
                    NewByte = NewByte * 2
                    If (ByteArray(InData) And 2 ^ bitcount) > 0 Then NewByte = NewByte + 1
                    If bitcount = 0 Then
                        bitcount = 8
                        InData = InData + 1
                    End If
                Next
                GoSub OutPutNewByte
                NewByte = 0
            Next
        Else
            NewByte = ByteArray(InData)
            InData = InData + 1
            GoSub OutPutNewByte
        End If
    Loop
    OutPos = OutPos - 1
    ReDim ByteArray(OutPos)
    For X = 0 To OutPos
        ByteArray(X) = OutStream(X)
    Next
    Exit Sub

Check_ContBitCount:
    ContBitCount = ContBitCount - 1
    ContHad = ContHad + 1
    If ContBitCount = -1 Then
        ContData = ByteArray(InCont)
        InCont = InCont + 1
        ContBitCount = 7
    End If
    Return

OutPutNewByte:
    If OutPos > UBound(OutStream) Then
        ReDim Preserve OutStream(OutPos + 100)
    End If
    OutStream(OutPos) = NewByte
    OutPos = OutPos + 1
    Return

End Sub

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕欧美日本乱码一线二线| 国产一区二区看久久| 美女任你摸久久| 99久久精品免费看国产| 亚洲精品一区二区在线观看| 亚洲福利视频一区| 波多野结衣中文一区| 精品久久免费看| 偷拍一区二区三区四区| 91免费看`日韩一区二区| 欧美激情一区二区三区不卡| 日产精品久久久久久久性色| 在线亚洲一区二区| 国产精品国产三级国产专播品爱网| 久久爱www久久做| 欧美日韩国产综合草草| 夜夜揉揉日日人人青青一国产精品| 成人精品gif动图一区| 久久久青草青青国产亚洲免观| 美脚の诱脚舐め脚责91| 欧美另类变人与禽xxxxx| 亚洲国产日韩在线一区模特 | 国产在线精品视频| 91精品国产综合久久香蕉麻豆| 亚洲图片欧美色图| 在线观看精品一区| 亚洲午夜羞羞片| 欧美日韩综合不卡| 天堂影院一区二区| 日韩一卡二卡三卡四卡| 美女一区二区三区| 2020国产精品久久精品美国| 精品午夜一区二区三区在线观看| 精品福利视频一区二区三区| 韩国一区二区三区| 欧美国产一区在线| 91网站最新网址| 亚洲电影在线免费观看| 91麻豆精品国产自产在线| 石原莉奈在线亚洲三区| 日韩欧美黄色影院| 国产激情精品久久久第一区二区| 国产偷国产偷精品高清尤物| 成人做爰69片免费看网站| 1000精品久久久久久久久| 一本色道久久综合亚洲91 | 国产精品拍天天在线| 99久久777色| 亚洲一级电影视频| 69久久夜色精品国产69蝌蚪网| 日本成人在线一区| 久久夜色精品国产噜噜av| 成人黄色国产精品网站大全在线免费观看| 国产日韩欧美高清在线| 一本色道久久综合狠狠躁的推荐| 天天综合网 天天综合色| 精品福利在线导航| 91麻豆视频网站| 久热成人在线视频| 国产精品免费av| 欧美三级韩国三级日本一级| 国产乱色国产精品免费视频| 亚洲精品亚洲人成人网| 日韩一卡二卡三卡四卡| 91在线云播放| 精品亚洲porn| 亚洲综合成人网| 久久精品亚洲精品国产欧美| 欧美天天综合网| 国产99久久久久久免费看农村| 亚洲福中文字幕伊人影院| 久久久91精品国产一区二区精品 | 欧美aⅴ一区二区三区视频| 国产三级一区二区| 制服丝袜av成人在线看| 成人免费视频免费观看| 午夜精品一区二区三区免费视频| 日本一区二区三区四区| 在线播放/欧美激情| 不卡一区二区在线| 韩国一区二区视频| 五月激情六月综合| 亚洲猫色日本管| 国产日韩精品一区二区三区| 欧美一级黄色大片| 欧美日韩精品免费| 一本色道久久综合亚洲91| 国产精品一卡二| 九九久久精品视频| 三级一区在线视频先锋| 一区二区三区四区视频精品免费| 亚洲国产精品t66y| 久久综合给合久久狠狠狠97色69| 欧美日韩aaa| 欧美无砖专区一中文字| 91美女片黄在线| 99精品欧美一区二区三区小说| 国产成人aaaa| 国产一区二区三区免费在线观看| 麻豆国产精品777777在线| 亚洲国产另类av| 亚洲午夜在线视频| 亚洲成人av资源| 性做久久久久久久免费看| 亚洲综合色自拍一区| 亚洲精品欧美在线| 夜夜揉揉日日人人青青一国产精品 | 中文字幕欧美激情一区| 久久精品一区八戒影视| 久久先锋影音av鲁色资源| 欧美mv日韩mv国产| 精品少妇一区二区三区免费观看 | 91精品在线免费观看| 精品视频在线看| 欧美日韩一区中文字幕| 欧美性猛交xxxx黑人交| 欧美人成免费网站| 正在播放亚洲一区| 欧美成人猛片aaaaaaa| 欧美mv和日韩mv的网站| 久久久久久久综合色一本| 久久久国产综合精品女国产盗摄| 国产亚洲精品aa| 国产精品福利一区| 亚洲欧美激情在线| 香蕉乱码成人久久天堂爱免费| 午夜精品福利一区二区蜜股av| 亚州成人在线电影| 免费成人av在线| 国产激情视频一区二区三区欧美| 国产成人av影院| 91免费观看在线| 337p亚洲精品色噜噜狠狠| 日韩精品最新网址| 国产精品电影一区二区| 亚洲国产欧美另类丝袜| 久久99精品久久久久久国产越南| 国产一区福利在线| 91丨九色丨蝌蚪富婆spa| 欧美日韩和欧美的一区二区| 精品理论电影在线观看 | 91免费观看在线| 51午夜精品国产| 国产欧美一区二区三区沐欲| 自拍视频在线观看一区二区| 日本在线不卡一区| 成人涩涩免费视频| 在线不卡中文字幕播放| 国产人妖乱国产精品人妖| 亚洲另类春色国产| 蜜桃视频免费观看一区| eeuss鲁一区二区三区| 91精品一区二区三区在线观看| 欧美激情在线看| 午夜精品国产更新| 丰满白嫩尤物一区二区| 欧美伦理影视网| 中文av字幕一区| 欧美aaaaaa午夜精品| 欧美一区二区三区四区视频| 国产亚洲精品7777| 日韩av一级片| 日本精品视频一区二区三区| 久久久久久久久99精品| 日本午夜一本久久久综合| 91免费小视频| 久久久亚洲午夜电影| 视频一区免费在线观看| 色婷婷综合在线| 国产精品美女视频| 精品一区二区影视| 91精品在线麻豆| 亚州成人在线电影| 色婷婷狠狠综合| 中文字幕在线免费不卡| 黑人精品欧美一区二区蜜桃| 欧美老肥妇做.爰bbww视频| 亚洲欧美在线aaa| 成人免费高清在线观看| 日韩三级免费观看| 丝袜诱惑制服诱惑色一区在线观看 | 国产欧美中文在线| 国内精品视频666| 日韩一区二区精品葵司在线 | 日韩一区有码在线| 成熟亚洲日本毛茸茸凸凹| 久久人人97超碰com| 麻豆91精品视频| 精品欧美一区二区久久| 青青草成人在线观看| 日韩欧美在线综合网| 美女精品自拍一二三四| 欧美videos中文字幕| 激情五月播播久久久精品| 精品久久久久久久一区二区蜜臀| 久久91精品国产91久久小草| 精品免费国产二区三区| 国产精一区二区三区| 中文字幕乱码久久午夜不卡 | 国产乱码一区二区三区|