-
Notifications
You must be signed in to change notification settings - Fork 20
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
Getting incremental CRC value #17
Comments
That is the purpose of the https://github.com/google/crclib.dart/blob/main/lib/src/primitive.dart#L105 After calling that, you can finalize the returned sink. |
Thanks! @postmasters I think that should work. It would be helpful if Another interesting note is that the code here works both Dart to C and C to Dart: https://github.com/kaisellgren/CRC32/blob/master/lib/crc32.dart
|
Hello,
I'm sure this could also be a stack overflow question with this library linked, but I wanted to reach out directly in case this needs to be a potential "enhancement".
So, I'd like to be able to convert chunks of data where, at each update of the sink, I have access to the current CRC value so that I can use that. So far I see
startChunkedConversion()
,addSlice()
, and other functions that seem to be useful for what I need to accomplish, but no way to get intermediary crc value along the way, only getting a final CRC value.Is there a way to do this currently? Would this need to be added?
Thanks,
The text was updated successfully, but these errors were encountered: