ied206 / joveler.compression Goto Github PK
View Code? Open in Web Editor NEWC# pinvoke libraries for compression (zlib, xz, lz4)
C# pinvoke libraries for compression (zlib, xz, lz4)
what can i do to avoid ==> Error NU3034 Package 'Joveler.DynLoader 2.1.0' from source 'https://api.nuget.org/v3/index.json': This package is signed but not by a trusted signer. Joveler.Compression.XZ C:\Users\rp_to\Source\Repos\Joveler.Compression\Joveler.Compression.XZ\Joveler.Compression.XZ.csproj 1
The CRC64XZ starts with a non zero value:
https://rubydoc.info/gems/digest-crc/Digest/CRC64XZ
But your code seems to start with 0
namespace Joveler.Compression.XZ.Checksum
{
#region Crc64Checksum
public sealed class Crc64Checksum : BaseChecksum<ulong>
{
#region Const
public const ulong InitCrc64 = 0;
#endregion
This is the equivalent of a normal Crc64
https://rubydoc.info/gems/digest-crc/Digest/CRC64
Please can you explain why a Crc64 implementation in the namespace Joveler.Compression.XZ.Checksum
does not perform the xz crc ?
And also update the documentation on which and how to perform the correct assumed crc64xz calculation
Thanks
---> System.PlatformNotSupportedException: Unable to find native library [x64\zlibwapi.dll].
Currently having this stack when trying to globalinit with zlib. Using .net 7
Hi i am currently having problems running the ZLib tests with .net5.0. Do you have any idea what the problem could be?
Error:
Fehler Compress [27 ms]
Fehlermeldung:
Test method Joveler.Compression.ZLib.Tests.DeflateStreamTests.Compress threw exception:
Joveler.Compression.ZLib.ZLibException: [StreamError]
Stapelverfolgung:
at Joveler.Compression.ZLib.DeflateStream.Flush() in H:\Joveler.Compression-master\Joveler.Compression.ZLib\ZLibStreams.cs:line 527
at Joveler.Compression.ZLib.DeflateStream.Dispose(Boolean disposing) in H:\Joveler.Compression-master\Joveler.Compression.ZLib\ZLibStreams.cs:line 253
at System.IO.Stream.Close()
at System.IO.Stream.Dispose()
at Joveler.Compression.ZLib.Tests.DeflateStreamTests.CompressTemplate(String sampleFileName, ZLibCompLevel level, Boolean useSpan) in H:\Joveler.Compression-master\Joveler.Compression.ZLib.Tests\DeflateStreamTests.cs:line 88
at Joveler.Compression.ZLib.Tests.DeflateStreamTests.Compress() in H:\Joveler.Compression-master\Joveler.Compression.ZLib.Tests\DeflateStreamTests.cs:line 41
Full test log: Tests Log.txt
It would be great to store the native libs in ./runtimes/RID/native folder, just like any other dotnet core native library. Additionally if self contained published package is generated, only the proper lib should be in added to the published package (since the runtime platform is specified)
I am getting the following errors at times:
Joveler.Compression.XZ.XZException: Not enough memory
I am running on Windows x64. Is there some setting that allows me to avoid this error. I cannot catch it.
When the stream is in a compressed state, I call the Abort
function in another thread. it will be in the Flush
function and always wait for XZInit.Lib.LzmaCode
return.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.