我一直在尝试解码主题索引或对话索引,按照这个关联我已经建立了对话代码......
它工作正常,但问题是当发现childBlocks 的差异时间
如果第一位是‘0’(添加了高 15 位和低 18 位),结果对于这种情况是正确的,但我怀疑当第一位为 1 时,我犯了错误
我也提到了微软文档和尝试在第一位为“1”时添加高 10 位和低 23 位.但结果不正确
考虑一下本文中提到的这个例子关联:我得到了正确的时差,这里是流程……
Child Block Hex:0000CCBA30
Child Block Binary:0000000000000000110011001011101000110000 Length:40
Child Block Segerated:0 0000000000000001100110010111010 0011 0000
Since have 1st bit as '0' added high 15 bits and the low 18 bits:
Difference Time in Binary:0000000000000000000000000000001100110010111010000000000000000000
Difference Time in milliseconds:1373896
difference Time is : 00:22:53
Child Block Result Time:Wed Jan 02 22:53:58 IST 2013
但是对于对话索引:AQHWLRNo4NaOjvXU8EODe0ZotrA8B6itzaxf,我用它来测试……
zero paded file time : 1D62D1368000000
nano seconds : 132342800426467328
Result Header Time :2020-05-18T12:54:02.646732800Z(Got this correct)
Hex:A8ADCDAC5F
Child Block Binary : 1010100010101101110011011010110001011111 Length:40
Child Block Segerated:1 0101000101011011100110110101100 0101 1111
Since have 1st bit as '1' added high 10 bits and the low 23 bits: 0000000000010100010101101110011011010110000000000000000000000000
Difference Time in NanoSeconds:5725048967004160
Difference Time in milliseconds:572504896700
difference Time is : 159029:08:16
Sum of header and child nanosecond:138067849393471488
Child Block Time : 2038-07-09T18:02:19.347148800Z