Closed rebelmx4 closed 2 years ago
1.如果我知道需要对比的文件格式(例如文件格式是unreal 4 pak格式),知道文件的哪些段是相同的,然后我自己组织保留,增加,修改数据。其中修改部分使用HDiff。这样做是不是可以减小最终输出的大小。 2.如果我想用hdiff比较old的[start1,end1]和new的[start2, end2],输出到out从start3可以的位置。 使用hpatch_TFileStreamInput_setOffset,hpatch_TFileStreamInput_setEndOffset分别设置old,new,hpatch_TFileStreamOutput_setOffset设置out 这样写对吗 3.matchBlockSize 该怎么理解
1.如果我知道需要对比的文件格式(例如文件格式是unreal 4 pak格式),知道文件的哪些段是相同的,然后我自己组织保留,增加,修改数据。其中修改部分使用HDiff。这样做是不是可以减小最终输出的大小。 2.如果我想用hdiff比较old的[start1,end1]和new的[start2, end2],输出到out从start3可以的位置。 使用hpatch_TFileStreamInput_setOffset,hpatch_TFileStreamInput_setEndOffset分别设置old,new,hpatch_TFileStreamOutput_setOffset设置out 这样写对吗 3.matchBlockSize 该怎么理解