good day,

I have a stream which I want to open for appending data. I also have the calculated checksum for that stream.
After appending the data to the stream I want to calculate the new stream checksum using the CheckedOutputStream class (with CRC32).
My question is do I need to read the whole stream again (old data + appended data) for calculating the checksum or is there a way (if I hold the previous checksum before appending) to calculate the new checksum without reading the whole file again ??