因みに私が使ってるのはこれ。

inline DWORD __fastcall DELTA_DEC(BYTE* buf, DWORD& dwLen)
{
dwLen = 1;
DWORD dwRet = *buf&0x7f;
DWORD tmp;
while (*buf&0x80) {
dwRet <<= 7;
tmp = *(++buf)&0x7f;
dwRet |= tmp;
dwLen++;
}
return dwRet;
}
デルタ時間のエンコードはもう少し複雑...