This should improve the bundle header decomposition. It was overreading into the asset area before, this should be a little more accurate, and the Asset initialization should now be greatly simplified. Unfortunately, I don't have a large corpus of files to test with, so I can't claim that it doesn't introduce any regressions.
This also adds CRC computations to the bundle, which can be useful for verifying that streamed bundles have downloaded correctly. Games like Pokemon TCG use both Headered and Headerless CRCs to verify bundles.
Hi!
This should improve the bundle header decomposition. It was overreading into the asset area before, this should be a little more accurate, and the Asset initialization should now be greatly simplified. Unfortunately, I don't have a large corpus of files to test with, so I can't claim that it doesn't introduce any regressions.
This also adds CRC computations to the bundle, which can be useful for verifying that streamed bundles have downloaded correctly. Games like Pokemon TCG use both Headered and Headerless CRCs to verify bundles.