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

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

?? comp_group64.bas

?? 里面有二十一種加密的算法,很好用的哦,大家一定要多多下載啊
?? BAS
字號:
Attribute VB_Name = "Comp_Group64"


Option Explicit

'This is a 1 run method but we have to keep the whole contents
'in memory until some variables are saved wich are needed bij the decompressor

'This is a grouping method
'it try to find follower bytes with a maximum range of 64
'if it found such a group it will subtract the lowest value
'and then store the lower 6 bits of the follower bytes
'in this way we can get a maximum compression of 25%
'This is excluded the header of the follower bytes
'this method works best after a move to front coder

Private OutPos As Long              'invoeg positie voor de output array
Private OutBitCount As Integer
Private OutByteBuf As Byte
Private ReadBitPos As Integer
Private NumExtBits(7) As Byte
  
Private Sub Init_Grouping()
    OutPos = 0
    OutBitCount = 0
    OutByteBuf = 0
    ReadBitPos = 0
    NumExtBits(0) = 3       '<8
    NumExtBits(1) = 3       '<16
    NumExtBits(2) = 4       '<32
    NumExtBits(3) = 5       '<64
    NumExtBits(4) = 6       '<128
    NumExtBits(5) = 7       '<256
    NumExtBits(6) = 8       '<512
    NumExtBits(7) = 16      ' de rest
End Sub

Public Sub Compress_Grouping(ByteArray() As Byte)
    Const MinBytes As Integer = 12  'minimum nuber of follower bytes needed to get compression
    Dim OutStream() As Byte         'The output array
    Dim BeginGroup As Long          'start positie of the groep
    Dim NumInGroup As Long
    Dim LowInGroup As Integer       'Lowest value in the groep
    Dim HighInGroup As Integer      'Highest value in the groep
    Dim Char As Integer
    Dim MaxDiff As Boolean
    Dim X As Long
    Dim Y As Long
    Dim TotFileLen As Long
    Dim NoCompress As Long
    Dim StartNocompress As Long
    TotFileLen = UBound(ByteArray)
    ReDim OutStream(TotFileLen + (TotFileLen / 7))  'in het slechtste geval
    BeginGroup = 0
    NumInGroup = 0
    Call Init_Grouping
    Do While BeginGroup + NumInGroup <= TotFileLen
        LowInGroup = ByteArray(BeginGroup + NumInGroup)
        HighInGroup = ByteArray(BeginGroup + NumInGroup)
        MaxDiff = False
        Do While MaxDiff = False
            NumInGroup = NumInGroup + 1
            If BeginGroup + NumInGroup > TotFileLen Then Exit Do
            Char = ByteArray(BeginGroup + NumInGroup)
            If Char < LowInGroup Then
                If HighInGroup - Char > 63 Then
                    MaxDiff = True
                Else
                    LowInGroup = Char
                End If
            ElseIf Char > HighInGroup Then
                If Char - LowInGroup > 63 Then
                    MaxDiff = True
                Else
                    HighInGroup = Char
                End If
            End If
        Loop
        NumInGroup = NumInGroup - 1
        If NumInGroup >= MinBytes Then               'we kunnen gaan splitten
            If NoCompress > 0 Then
'if we cant compress, store the header of the literal bytes
                Call AddGroupCodeToStream(OutStream, NoCompress, False)
'and store the literal bytes themself
                For X = StartNocompress To StartNocompress + NoCompress - 1
                    Call AddBitsToStream(OutStream, CLng(ByteArray(X)), 8)
                Next
                NoCompress = 0
            End If
'here whe're gone store the header of the compressed bytes
            Call AddGroupCodeToStream(OutStream, NumInGroup + 1, True)
'lets store the lowest value of the group
            Call AddBitsToStream(OutStream, CLng(LowInGroup), 8)
'and here whe're subtract the lowest value from the group and
'store bits 0 to 5 into the output stream
            For X = BeginGroup To BeginGroup + NumInGroup
                Call AddBitsToStream(OutStream, CLng(ByteArray(X) - LowInGroup), 6)
            Next
            BeginGroup = BeginGroup + NumInGroup + 1
        Else
            NoCompress = NoCompress + 1
            If NoCompress = 1 Then StartNocompress = BeginGroup 'Lets hold the pointer
            BeginGroup = BeginGroup + 1
        End If
        NumInGroup = 0
    Loop
'lets see if whe have had all the bytes
    If NoCompress > 0 Then
'if not, lets store the last bytes
        Call AddGroupCodeToStream(OutStream, NoCompress, False)
        For X = StartNocompress To StartNocompress + NoCompress - 1
            Call AddBitsToStream(OutStream, CLng(ByteArray(X)), 8)
        Next
        NoCompress = 0
    End If
'see if there are some bits leftover
    If OutBitCount < 8 Then
        Do While OutBitCount < 8
            OutByteBuf = OutByteBuf * 2
            OutBitCount = OutBitCount + 1
        Loop
        OutStream(OutPos) = OutByteBuf: OutPos = OutPos + 1
    End If
    OutPos = OutPos - 1
    ReDim ByteArray(OutPos + 4)
    ByteArray(0) = Int(TotFileLen / &H1000000) And &HFF
    ByteArray(1) = Int(TotFileLen / &H10000) And &HFF
    ByteArray(2) = Int(TotFileLen / &H100) And &HFF
    ByteArray(3) = TotFileLen And &HFF
    Call CopyMem(ByteArray(4), OutStream(0), OutPos + 1)
End Sub

Private Sub AddGroupCodeToStream(ToStream() As Byte, Number As Long, IsPacked As Boolean)
    Dim NumVal As Byte
    Dim X As Long
    OutByteBuf = OutByteBuf * 2 + (-1 * IsPacked)
    OutBitCount = OutBitCount + 1
    If OutBitCount = 8 Then: ToStream(OutPos) = OutByteBuf: OutBitCount = 0: OutByteBuf = 0: OutPos = OutPos + 1
    Select Case Number
    Case Is < 8
        NumVal = 0
    Case Is < 16
        NumVal = 1
    Case Is < 32
        NumVal = 2
    Case Is < 64
        NumVal = 3
    Case Is < 128
        NumVal = 4
    Case Is < 256
        NumVal = 5
    Case Is < 512
        NumVal = 6
    Case Else
        NumVal = 7
    End Select
'plaats 3 extra bits om de groote van het volgende getal aan te geven
    For X = 2 To 0 Step -1
        OutByteBuf = OutByteBuf * 2 + (-1 * ((NumVal And 2 ^ X) > 0))
        OutBitCount = OutBitCount + 1
        If OutBitCount = 8 Then: ToStream(OutPos) = OutByteBuf: OutBitCount = 0: OutByteBuf = 0: OutPos = OutPos + 1
    Next
'plaats het aantal nummer in de groep
    For X = NumExtBits(NumVal) - 1 To 0 Step -1
        OutByteBuf = OutByteBuf * 2 + (-1 * ((Number And 2 ^ X) > 0))
        OutBitCount = OutBitCount + 1
        If OutBitCount = 8 Then: ToStream(OutPos) = OutByteBuf: OutBitCount = 0: OutByteBuf = 0: OutPos = OutPos + 1
    Next
End Sub

Private Sub AddBitsToStream(ToStream() As Byte, Number As Long, Numbits As Integer)
    Dim X As Long
    For X = Numbits - 1 To 0 Step -1
        OutByteBuf = OutByteBuf * 2 + (-1 * ((Number And 2 ^ X) > 0))
        OutBitCount = OutBitCount + 1
        If OutBitCount = 8 Then: ToStream(OutPos) = OutByteBuf: OutBitCount = 0: OutByteBuf = 0: OutPos = OutPos + 1
    Next
End Sub

Public Sub DeCompress_Grouping(ByteArray() As Byte)
    Dim TotFileLen As Long
    Dim OutStream() As Byte         'The output array
    Dim InpPos As Long
    Dim NewPos As Long
    Dim PackedOrNot As Byte
    Dim NumBytes As Long
    Dim LowInGroup As Integer       'Lowest value in the group
    Dim NumVal As Byte
    Dim X As Integer
    For X = 0 To 3
        TotFileLen = CLng(TotFileLen) * 256
        TotFileLen = TotFileLen + ByteArray(X)
    Next
    ReDim OutStream(TotFileLen)
    InpPos = 4
    NewPos = 0
    Call Init_Grouping
    Do While NewPos < TotFileLen
        PackedOrNot = ReadBitsFromArray(ByteArray, InpPos, 1)
        NumVal = ReadBitsFromArray(ByteArray, InpPos, 3)
        NumBytes = ReadBitsFromArray(ByteArray, InpPos, CInt(NumExtBits(NumVal)))
        If NumVal > 0 And NumVal < 7 Then
            NumBytes = NumBytes Or 2 ^ (NumVal + 2)
        End If
        If PackedOrNot = 0 Then
            For X = 1 To NumBytes       'the bytes aren't Grouped
                OutStream(NewPos) = ReadBitsFromArray(ByteArray, InpPos, 8)
                NewPos = NewPos + 1
            Next
        Else
            LowInGroup = ReadBitsFromArray(ByteArray, InpPos, 8)
            For X = 1 To NumBytes       'the bytes are Grouped
                OutStream(NewPos) = ReadBitsFromArray(ByteArray, InpPos, 6) + LowInGroup
                NewPos = NewPos + 1
            Next
        End If
    Loop
    ReDim ByteArray(TotFileLen)
    Call CopyMem(ByteArray(0), OutStream(0), TotFileLen + 1)
End Sub

Private Function ReadBitsFromArray(FromArray() As Byte, FromPos As Long, Numbits As Integer) As Long
    Dim X As Integer
    Dim Temp As Long
    For X = 1 To Numbits
        Temp = Temp * 2 + (-1 * ((FromArray(FromPos) And 2 ^ (7 - ReadBitPos)) > 0))
        ReadBitPos = ReadBitPos + 1
        If ReadBitPos = 8 Then
            If FromPos + 1 > UBound(FromArray) Then
                Do While X < Numbits
                    Temp = Temp * 2
                    X = X + 1
                Loop
                FromPos = FromPos + 1
                Exit For
            End If
            FromPos = FromPos + 1
            ReadBitPos = 0
        End If
    Next
    ReadBitsFromArray = Temp
End Function

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区三区在线| 99久久婷婷国产| 日韩你懂的在线播放| 精品一区中文字幕| 国产欧美一区二区精品秋霞影院| 极品少妇xxxx偷拍精品少妇| 亚洲精品在线电影| 国产成人无遮挡在线视频| 国产精品免费视频一区| 99久久精品免费| 亚洲电影中文字幕在线观看| 欧美一区二区日韩| 国产乱码精品一区二区三区五月婷 | 日韩激情在线观看| 日韩一区二区在线观看| 国产精品小仙女| 亚洲女人的天堂| 这里是久久伊人| 国产麻豆精品theporn| 亚洲视频一区二区免费在线观看| 在线观看网站黄不卡| 秋霞成人午夜伦在线观看| 国产三级精品在线| 日本韩国一区二区三区视频| 免费人成在线不卡| 亚洲视频狠狠干| 欧美一区二区不卡视频| 成人福利视频网站| 天堂影院一区二区| 中文欧美字幕免费| 538在线一区二区精品国产| 国产自产高清不卡| 亚洲美女视频在线| 久久综合网色—综合色88| 在线看国产一区| 国产盗摄女厕一区二区三区| 亚洲成人你懂的| 中文字幕亚洲精品在线观看| 欧美一区二区视频观看视频| 成人国产在线观看| 久草在线在线精品观看| 一区二区三区中文在线观看| 精品国产一区二区三区久久久蜜月 | 国产福利精品一区二区| 亚洲成人第一页| 1000部国产精品成人观看| 欧美va在线播放| 欧美男男青年gay1069videost| 国产成人精品免费| 麻豆精品蜜桃视频网站| 亚洲国产精品一区二区久久恐怖片 | 午夜成人免费视频| 综合欧美亚洲日本| 国产婷婷色一区二区三区| 欧美伦理电影网| 在线观看中文字幕不卡| www.日韩av| 国产一区二区三区电影在线观看| 亚洲成av人片在www色猫咪| 日韩理论电影院| 中文在线免费一区三区高中清不卡| 欧美一级欧美三级在线观看| 欧美三级视频在线| 91色.com| 色婷婷激情综合| 成人精品一区二区三区中文字幕| 国模娜娜一区二区三区| 精品一区二区在线播放| 免费久久99精品国产| 视频一区二区中文字幕| 午夜欧美电影在线观看| 香蕉加勒比综合久久| 亚洲国产综合色| 亚洲成人免费av| 日日夜夜精品免费视频| 偷窥少妇高潮呻吟av久久免费| 亚洲高清免费一级二级三级| 亚洲综合激情小说| 亚洲一区二区视频| 午夜精品aaa| 日本不卡中文字幕| 免费人成精品欧美精品| 美国十次了思思久久精品导航| 麻豆一区二区三| 国产主播一区二区| 成人激情校园春色| 91免费看片在线观看| 欧美影院精品一区| 欧美人成免费网站| 精品国产乱码久久久久久1区2区| 337p粉嫩大胆色噜噜噜噜亚洲| www精品美女久久久tv| 日本一区二区三区久久久久久久久不| 久久久久久免费| 亚洲视频免费在线| 亚洲成人av免费| 精品一区二区三区在线播放| 国产丶欧美丶日本不卡视频| caoporm超碰国产精品| 在线观看日韩一区| 日韩一区二区三免费高清| 久久亚洲综合色一区二区三区| 日本一区二区综合亚洲| 亚洲精品免费播放| 日韩高清在线不卡| 国产成人午夜高潮毛片| 欧美亚洲综合一区| 欧美精品一区二区三区蜜桃| 国产精品乱人伦中文| 亚洲国产视频一区二区| 韩国成人精品a∨在线观看| 91小视频在线免费看| 91精品免费在线观看| 久久精品夜夜夜夜久久| 一卡二卡三卡日韩欧美| 久久激情五月婷婷| 福利一区福利二区| 欧美日韩成人在线一区| 国产日产欧产精品推荐色| 亚洲一区二区三区在线播放| 国产综合久久久久影院| 欧美综合亚洲图片综合区| 精品国产一二三区| 伊人婷婷欧美激情| 国产一区二区三区精品欧美日韩一区二区三区 | 亚洲韩国一区二区三区| 国产成人午夜电影网| 欧美久久高跟鞋激| 亚洲欧洲日韩女同| 老司机午夜精品| 欧美视频中文字幕| 国产精品女上位| 国产在线国偷精品免费看| 在线观看亚洲一区| 中文字幕在线播放不卡一区| 人禽交欧美网站| 色诱亚洲精品久久久久久| 欧美videossexotv100| 亚洲综合久久久| jlzzjlzz欧美大全| 久久精品视频免费| 久久成人麻豆午夜电影| 欧美亚洲免费在线一区| ●精品国产综合乱码久久久久 | www一区二区| 欧美bbbbb| 欧美二区三区的天堂| 久久精子c满五个校花| 日韩不卡免费视频| 欧美影视一区在线| 亚洲男人的天堂在线观看| 国产成人午夜精品影院观看视频| 欧美一区二区精品| 五月天视频一区| 91高清视频在线| 亚洲欧美电影一区二区| 成人91在线观看| 国产精品久久久一本精品 | 亚洲成人免费在线观看| 91麻豆产精品久久久久久| 国产亚洲成年网址在线观看| 久久狠狠亚洲综合| 欧美一区二区视频在线观看2020| 亚洲小说欧美激情另类| 在线一区二区三区做爰视频网站| 中文字幕欧美一区| 99在线精品观看| 亚洲视频1区2区| 91丝袜呻吟高潮美腿白嫩在线观看| 国产精品视频麻豆| 成人av一区二区三区| 中文字幕一区三区| 一本色道久久综合亚洲91| 一区二区三区在线观看国产| 91麻豆精东视频| 亚洲综合一区在线| 欧美在线免费播放| 亚洲国产cao| 91精品午夜视频| 精品一区二区三区在线播放| 欧美成人在线直播| 国产成人精品免费在线| 日韩久久一区二区| 欧美日韩一区精品| 久久精品国产亚洲高清剧情介绍| 精品少妇一区二区三区| 国产成人精品网址| 亚洲制服丝袜av| 日韩一级大片在线观看| 国产一区二区三区观看| 一区免费观看视频| 中文幕一区二区三区久久蜜桃| 国产suv精品一区二区883| 亚洲三级在线免费观看| 欧美午夜一区二区三区| 日本伊人色综合网| 国产欧美一区二区在线| 一本大道av一区二区在线播放| 亚洲成人激情av| 国产色产综合色产在线视频|