-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Software computed CRC32 #95
Conversation
Thank you @albyrock87 for your contribution. C# Lang version can be configured in Directory.Build.props file. |
4cdd19c
to
1eec365
Compare
1eec365
to
5985753
Compare
@koculu the PR should compile now, but I have some observations:
Considering this is copy pasted from System.IO.Hashing, I really don't understand what's going on. |
I think we don't need to get exact same values from different CRC32 computers. For future references I am pasting here the ChatGPT's response to your comment:
|
Hi, apparently my iOS app is crashing in the iOS Simulator (M3 MacBook) due to a
NotSupportedException
thrown byLogEntry.CreateChecksum()
.This PR introduces a software-computed
CRC32
computation based onSystem.IO.Hashing
code.I didn't want to introduce a new dependency but I feel like it'd be probably better to use
System.IO.Hashing
due to performance reasons.Note: I wasn't able to compile the solution, so I just hope this builds and works as expected.
Thanks for this library!