GitSharp.Core.DirectoryCache.DirCacheEntry.EncodeTimestamp C# (CSharp) Method

EncodeTimestamp() private method

private EncodeTimestamp ( int pIdx, long when ) : void
pIdx int
when long /// New cached modification date of the file, in milliseconds. ///
return void
        private void EncodeTimestamp(int pIdx, long when)
        {
            int @base = _infoOffset + pIdx;
            NB.encodeInt32(_info, @base, (int)(when / 1000));
            NB.encodeInt32(_info, @base + 4, ((int)(when % 1000)) * 1000000);
        }