Example #1
0
        private static bool CopyValue(FLDict *source, FLDictKey *key, FLEncoder *enc)
        {
            var value = Native.FLDict_GetWithKey(source, key);

            if (value == null)
            {
                return(false);
            }

            Native.FLEncoder_WriteKey(enc, Native.FLDictKey_GetString(key));
            Native.FLEncoder_WriteValue(enc, value);
            return(true);
        }
Example #2
0
 public static extern FLSlice FLDictKey_GetString(FLDictKey *key);
Example #3
0
 public static extern FLValue *FLDict_GetWithKey(FLDict *dict, FLDictKey *dictKey);
Example #4
0
 public static string FLDictKey_GetString(FLDictKey *key)
 {
     return(NativeRaw.FLDictKey_GetString(key).CreateString());
 }
 public FLSlice FLDictKey_GetString(FLDictKey *key) => NativeRaw.FLDictKey_GetString(key);
 public FLValue *FLDict_GetWithKey(FLDict *dict, FLDictKey *dictKey) => Native.FLDict_GetWithKey(dict, dictKey);
 public string FLDictKey_GetString(FLDictKey *key) => Native.FLDictKey_GetString(key);
 public static FLSlice FLDictKey_GetString(FLDictKey *dictKey) => Impl.FLDictKey_GetString(dictKey);
 public static FLValue *FLDict_GetWithKey(FLDict *dict, FLDictKey *dictKey) => Impl.FLDict_GetWithKey(dict, dictKey);
 public static string FLDictKey_GetString(FLDictKey *key) => Impl.FLDictKey_GetString(key);