public static int GetIntDecoded(System.Type type, int index)
    {
        string key = IntCoder.GetDataKey(type, index);

        if (HasValue(key))
        {
            return(IntCoder.Decode(type, index, GetStringValue(key)));
        }
        else
        {
            return(0);
        }
    }
    public static void SetIntEncoded(System.Type type, int index, int value)
    {
        string key = IntCoder.GetDataKey(type, index);

        SetStringValue(key, IntCoder.Encode(type, index, value));
    }