Skip to content

Commit

Permalink
Transfer from Zaabee to AoxeTech
Browse files Browse the repository at this point in the history
  • Loading branch information
Mutuduxf committed Jun 10, 2024
1 parent 2cda31b commit c978d64
Show file tree
Hide file tree
Showing 197 changed files with 565 additions and 506 deletions.
1 change: 1 addition & 0 deletions .dccache

Large diffs are not rendered by default.

112 changes: 106 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
Expand All @@ -12,17 +13,24 @@
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Mono auto generated files
mono_crash.*

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/

# Visual Studio 2015/2017 cache/options directory
.vs/
Expand All @@ -31,13 +39,17 @@ bld/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/

# Visual Studio 2017 auto generated files
Generated\ Files/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

# NUNIT
*.VisualState.xml
TestResult.xml
nunit-*.xml

# Build Results of an ATL Project
[Dd]ebugPS/
Expand All @@ -53,14 +65,23 @@ project.fragment.lock.json
artifacts/
**/Properties/launchSettings.json

# ASP.NET Scaffolding
ScaffoldingReadMe.txt

# StyleCop
StyleCopReport.xml

# Files built by Visual Studio
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
Expand All @@ -70,7 +91,9 @@ artifacts/
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.tlog
*.vspscc
*.vssscc
.builds
Expand Down Expand Up @@ -125,6 +148,11 @@ _TeamCity*
.axoCover/*
!.axoCover/settings.json

# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info

# Visual Studio code coverage results
*.coverage
*.coveragexml
Expand Down Expand Up @@ -172,6 +200,8 @@ PublishScripts/

# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
Expand All @@ -196,6 +226,8 @@ BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload

# Visual Studio cache files
# files ending in .cache can be ignored
Expand All @@ -214,6 +246,10 @@ ClientBin/
*.publishsettings
orleans.codegen.cs

# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk

# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
Expand All @@ -228,6 +264,8 @@ _UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak

# SQL Server files
*.mdf
Expand All @@ -238,6 +276,10 @@ UpgradeLog*.htm
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl

# Microsoft Fakes
FakesAssemblies/
Expand All @@ -249,9 +291,6 @@ FakesAssemblies/
.ntvs_analysis.dat
node_modules/

# TypeScript v1 declaration files
typings/

# Visual Studio 6 build log
*.plg

Expand All @@ -261,6 +300,17 @@ typings/
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw

# Visual Studio 6 auto-generated project file (contains which files were open etc.)
*.vbp

# Visual Studio 6 workspace and project file (working project files containing files to include in project)
*.dsw
*.dsp

# Visual Studio 6 technical files
*.ncb
*.aps

# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
Expand All @@ -280,8 +330,8 @@ paket-files/
.idea/
*.sln.iml

# CodeRush
.cr/
# CodeRush personal settings
.cr/personal

# Python Tools for Visual Studio (PTVS)
__pycache__/
Expand All @@ -305,4 +355,54 @@ __pycache__/

# OpenCover UI analysis results
OpenCover/
.dccache

# Azure Stream Analytics local run output
ASALocalRun/

# MSBuild Binary and Structured Log
*.binlog

# NVidia Nsight GPU debugger configuration file
*.nvuser

# MFractors (Xamarin productivity tool) working folder
.mfractor/

# Local History for Visual Studio
.localhistory/

# Visual Studio History (VSHistory) files
.vshistory/

# BeatPulse healthcheck temp database
healthchecksdb

# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/

# Ionide (cross platform F# VS Code tools) working folder
.ionide/

# Fody - auto-generated XML schema
FodyWeavers.xsd

# VS Code files for those working on multiple tools
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# Local History for Visual Studio Code
.history/

# Windows Installer files from build outputs
*.cab
*.msi
*.msix
*.msm
*.msp

# JetBrains Rider
*.sln.iml
38 changes: 19 additions & 19 deletions Zaabee.Compression.sln → Aoxe.Compression.sln
Original file line number Diff line number Diff line change
Expand Up @@ -6,47 +6,47 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{5BE4F706
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "perf", "perf", "{2C29EC4D-3A9E-4614-936A-480B11722B44}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.SharpZipLib", "src\Zaabee.SharpZipLib\Zaabee.SharpZipLib.csproj", "{F9369C2B-0732-46F2-B95A-8F109BFE59A6}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.SharpZipLib", "src\Aoxe.SharpZipLib\Aoxe.SharpZipLib.csproj", "{F9369C2B-0732-46F2-B95A-8F109BFE59A6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.SharpZipLib.UnitTest", "tests\Zaabee.SharpZipLib.UnitTest\Zaabee.SharpZipLib.UnitTest.csproj", "{9314456D-81B7-4938-9A4D-09166587B8A5}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.SharpZipLib.UnitTest", "tests\Aoxe.SharpZipLib.UnitTest\Aoxe.SharpZipLib.UnitTest.csproj", "{9314456D-81B7-4938-9A4D-09166587B8A5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.Brotli", "src\Zaabee.Brotli\Zaabee.Brotli.csproj", "{24C67192-7358-4130-9ED0-8EF538245E22}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.Brotli", "src\Aoxe.Brotli\Aoxe.Brotli.csproj", "{24C67192-7358-4130-9ED0-8EF538245E22}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.LZ4", "src\Zaabee.LZ4\Zaabee.LZ4.csproj", "{C63108DC-9E65-45CE-8521-D758C3505F79}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.LZ4", "src\Aoxe.LZ4\Aoxe.LZ4.csproj", "{C63108DC-9E65-45CE-8521-D758C3505F79}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.LZMA", "src\Zaabee.LZMA\Zaabee.LZMA.csproj", "{731E6492-89AB-4F6D-A52D-0A8F4E11CB34}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.LZMA", "src\Aoxe.LZMA\Aoxe.LZMA.csproj", "{731E6492-89AB-4F6D-A52D-0A8F4E11CB34}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.LZ4.UnitTest", "tests\Zaabee.LZ4.UnitTest\Zaabee.LZ4.UnitTest.csproj", "{2E210FAA-5D7C-42FF-B8D5-BAF51A4CC077}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.LZ4.UnitTest", "tests\Aoxe.LZ4.UnitTest\Aoxe.LZ4.UnitTest.csproj", "{2E210FAA-5D7C-42FF-B8D5-BAF51A4CC077}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestModel", "tests\TestModel\TestModel.csproj", "{B374664E-6312-4249-9684-5FD8AA17B5E3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Benchmark", "perf\Benchmark\Benchmark.csproj", "{449CC10A-8E9C-4DD9-BFC4-F48073FA8A88}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.BrotliNET.UnitTest", "tests\Zaabee.BrotliNET.UnitTest\Zaabee.BrotliNET.UnitTest.csproj", "{3BBB8D2D-24DF-4EDE-8375-32DDB4BC5B2B}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.BrotliNET.UnitTest", "tests\Aoxe.BrotliNET.UnitTest\Aoxe.BrotliNET.UnitTest.csproj", "{3BBB8D2D-24DF-4EDE-8375-32DDB4BC5B2B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.Compressor.Abstractions", "src\Zaabee.Compressor.Abstractions\Zaabee.Compressor.Abstractions.csproj", "{AD4949B0-2C26-4D98-B04F-9ACC021C6305}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.Compressor.Abstractions", "src\Aoxe.Compressor.Abstractions\Aoxe.Compressor.Abstractions.csproj", "{AD4949B0-2C26-4D98-B04F-9ACC021C6305}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.Compressor.UnitTest", "tests\Zaabee.Compressor.UnitTest\Zaabee.Compressor.UnitTest.csproj", "{D6205D58-347E-4A53-8F54-1AE7AFEE20A0}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.Compressor.UnitTest", "tests\Aoxe.Compressor.UnitTest\Aoxe.Compressor.UnitTest.csproj", "{D6205D58-347E-4A53-8F54-1AE7AFEE20A0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.LZMA.UnitTest", "tests\Zaabee.LZMA.UnitTest\Zaabee.LZMA.UnitTest.csproj", "{30B1C116-3242-4A7C-9D53-AC7F9A5FC2D2}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.LZMA.UnitTest", "tests\Aoxe.LZMA.UnitTest\Aoxe.LZMA.UnitTest.csproj", "{30B1C116-3242-4A7C-9D53-AC7F9A5FC2D2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.Zstd", "src\Zaabee.Zstd\Zaabee.Zstd.csproj", "{EE5162E3-1DC9-473C-9000-9AA57A60A063}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.Zstd", "src\Aoxe.Zstd\Aoxe.Zstd.csproj", "{EE5162E3-1DC9-473C-9000-9AA57A60A063}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.XZ", "src\Zaabee.XZ\Zaabee.XZ.csproj", "{DB751327-63F0-4F97-9759-DF71F6580774}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.XZ", "src\Aoxe.XZ\Aoxe.XZ.csproj", "{DB751327-63F0-4F97-9759-DF71F6580774}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.Zstd.UnitTest", "tests\Zaabee.Zstd.UnitTest\Zaabee.Zstd.UnitTest.csproj", "{D9663D19-647A-4FC9-A109-D09875640929}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.Zstd.UnitTest", "tests\Aoxe.Zstd.UnitTest\Aoxe.Zstd.UnitTest.csproj", "{D9663D19-647A-4FC9-A109-D09875640929}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.XZ.UnitTest", "tests\Zaabee.XZ.UnitTest\Zaabee.XZ.UnitTest.csproj", "{92B03B14-C246-41D3-A23F-A7F2C1A96C15}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.XZ.UnitTest", "tests\Aoxe.XZ.UnitTest\Aoxe.XZ.UnitTest.csproj", "{92B03B14-C246-41D3-A23F-A7F2C1A96C15}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.Snappy", "src\Zaabee.Snappy\Zaabee.Snappy.csproj", "{829CE0E8-6536-4ECF-84F2-20D155A49055}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.Snappy", "src\Aoxe.Snappy\Aoxe.Snappy.csproj", "{829CE0E8-6536-4ECF-84F2-20D155A49055}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.Snappy.UnitTest", "tests\Zaabee.Snappy.UnitTest\Zaabee.Snappy.UnitTest.csproj", "{73E05D79-6F20-4281-B6D2-41049402CBC5}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.Snappy.UnitTest", "tests\Aoxe.Snappy.UnitTest\Aoxe.Snappy.UnitTest.csproj", "{73E05D79-6F20-4281-B6D2-41049402CBC5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.SystemIoCompression", "src\Zaabee.SystemIoCompression\Zaabee.SystemIoCompression.csproj", "{41831AEE-A2EE-4248-B231-007AA198C5F1}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.SystemIoCompression", "src\Aoxe.SystemIoCompression\Aoxe.SystemIoCompression.csproj", "{41831AEE-A2EE-4248-B231-007AA198C5F1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.SystemIoCompression.UnitTest", "tests\Zaabee.SystemIoCompression.UnitTest\Zaabee.SystemIoCompression.UnitTest.csproj", "{70D3599E-7CAA-4DE8-826F-DDA211E3FE75}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.SystemIoCompression.UnitTest", "tests\Aoxe.SystemIoCompression.UnitTest\Aoxe.SystemIoCompression.UnitTest.csproj", "{70D3599E-7CAA-4DE8-826F-DDA211E3FE75}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zaabee.Compressor.Abstractions.UnitTest", "tests\Zaabee.Compressor.Abstractions.UnitTest\Zaabee.Compressor.Abstractions.UnitTest.csproj", "{81529D2A-F446-4046-8792-318D4808503F}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aoxe.Compressor.Abstractions.UnitTest", "tests\Aoxe.Compressor.Abstractions.UnitTest\Aoxe.Compressor.Abstractions.UnitTest.csproj", "{81529D2A-F446-4046-8792-318D4808503F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
# Zaabee.Compression
# Aoxe.Compression

---

Provide an easy way to use compressions. These packages support the wraps and extensions for compressors. It is also the compressor provider for all Zaabee technology stacks like configuration, cache, queue, rpc, etc.
Provide an easy way to use compressions. These packages support the wraps and extensions for compressors. It is also the compressor provider for all Aoxe technology stacks like configuration, cache, queue, rpc, etc.

## Why use Zaabee.Compression?
## Why use Aoxe.Compression?

There are many compressors in the .NET ecosystem, but they are not easy to use. Zaabee.Compression provides a unified interface / helper / extensions for all compressors, and it is also the compressor provider for all Zaabee technology stacks.
There are many compressors in the .NET ecosystem, but they are not easy to use. Aoxe.Compression provides a unified interface / helper / extensions for all compressors, and it is also the compressor provider for all Aoxe technology stacks.

The compressors that Zaabee.Compression supports are as follows:
The compressors that Aoxe.Compression supports are as follows:

| Compressor | Package | Reference |
| :--------: | :----------------: | :------------------: |
| Brotli | Zaabee.Brotli | Brotli.NET |
| BZip | Zaabee.SharpZipLib | SharpZipLib |
| GZip | Zaabee.SharpZipLib | SharpZipLib |
| LZ4 | Zaabee.LZ4 | K4os.Compression.LZ4 |
| LZMA | Zaabee.LZMA | LZMA-SDK |
| XZ | Zaabee.XZ | XZ.NET-netstandard |
| Zstd | Zaabee.Zstd | ZstdNet |
| Brotli | Aoxe.Brotli | Brotli.NET |
| BZip | Aoxe.SharpZipLib | SharpZipLib |
| GZip | Aoxe.SharpZipLib | SharpZipLib |
| LZ4 | Aoxe.LZ4 | K4os.Compression.LZ4 |
| LZMA | Aoxe.LZMA | LZMA-SDK |
| XZ | Aoxe.XZ | XZ.NET-netstandard |
| Zstd | Aoxe.Zstd | ZstdNet |

## How to use Zaabee.Compression?
## How to use Aoxe.Compression?

### Install

```shell
dotnet add package Zaabee.Brotli
dotnet add package Zaabee.SharpZipLib
dotnet add package Zaabee.LZ4
dotnet add package Zaabee.LZMA
dotnet add package Zaabee.XZ
dotnet add package Zaabee.Zstd
dotnet add package Aoxe.Brotli
dotnet add package Aoxe.SharpZipLib
dotnet add package Aoxe.LZ4
dotnet add package Aoxe.LZMA
dotnet add package Aoxe.XZ
dotnet add package Aoxe.Zstd
```

### Compress
Expand Down Expand Up @@ -87,7 +87,7 @@ var zstdDecompressStream = zstdStream.UnZstd();

### IComepressor

Also you can use the interface `IComepressor` to compress and decompress. All Zaabee compressors implement this interface.
Also you can use the interface `IComepressor` to compress and decompress. All Aoxe compressors implement this interface.

```csharp
// Inject (ICompressor compressor)
Expand Down
16 changes: 8 additions & 8 deletions perf/Benchmark/Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Zaabee.Brotli\Zaabee.Brotli.csproj" />
<ProjectReference Include="..\..\src\Zaabee.LZ4\Zaabee.LZ4.csproj" />
<ProjectReference Include="..\..\src\Zaabee.LZMA\Zaabee.LZMA.csproj" />
<ProjectReference Include="..\..\src\Zaabee.SharpZipLib\Zaabee.SharpZipLib.csproj" />
<ProjectReference Include="..\..\src\Zaabee.Snappy\Zaabee.Snappy.csproj" />
<ProjectReference Include="..\..\src\Zaabee.SystemIoCompression\Zaabee.SystemIoCompression.csproj" />
<ProjectReference Include="..\..\src\Zaabee.XZ\Zaabee.XZ.csproj" />
<ProjectReference Include="..\..\src\Zaabee.Zstd\Zaabee.Zstd.csproj" />
<ProjectReference Include="..\..\src\Aoxe.Brotli\Aoxe.Brotli.csproj" />
<ProjectReference Include="..\..\src\Aoxe.LZ4\Aoxe.LZ4.csproj" />
<ProjectReference Include="..\..\src\Aoxe.LZMA\Aoxe.LZMA.csproj" />
<ProjectReference Include="..\..\src\Aoxe.SharpZipLib\Aoxe.SharpZipLib.csproj" />
<ProjectReference Include="..\..\src\Aoxe.Snappy\Aoxe.Snappy.csproj" />
<ProjectReference Include="..\..\src\Aoxe.SystemIoCompression\Aoxe.SystemIoCompression.csproj" />
<ProjectReference Include="..\..\src\Aoxe.XZ\Aoxe.XZ.csproj" />
<ProjectReference Include="..\..\src\Aoxe.Zstd\Aoxe.Zstd.csproj" />
</ItemGroup>

</Project>
Loading

0 comments on commit c978d64

Please sign in to comment.