xdelta-sharp
xdelta-sharp copied to clipboard
Patching files > 4GiB
I was trying to patch a large file (4 448 220 211 bytes) with not so large xdelta, and it failed. Worth mentioning in limitations list i guess. By the way, any thoughts if it's difficult to support large files?
System.FormatException: decoder file offset overflow at
PleOps.XdeltaSharp.Decoder.WindowReader.CheckReadOverflow() at
PleOps.XdeltaSharp.Decoder.Decoder.Run() at
...
Good point. This is currently a limitation. The library does not support integers larger than 32-bits (4 GB) in the VCDIFF format.
I will update the README to point to this limitation until it's implemented.
is it still limited by 4GB of size ? I would really need it, so is there any plans to support 4gb> files pls ?
As it's stated in the README, the project doesn't support patches for files larger than 4 GB yet. At the moment I don't have much free time to work on it.
A workaround would be to split the file in blocks of 4 GB, create a patch for each of them and join them after patching later.