Пример #1
0
    public static Hash128 GetHash128(this WriteCommand cmd)
    {
        StreamHasher hasher = new StreamHasher();

        HashingHelpers.WriteHashData(cmd, hasher.Writer);
        return(hasher.GetHash());
    }
Пример #2
0
    public static Hash128 GetHash128(this AssetLoadInfo info)
    {
        StreamHasher hasher = new StreamHasher();

        HashingHelpers.WriteHashData(info, hasher.Writer);
        return(hasher.GetHash());
    }