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); }
public static extern FLSlice FLDictKey_GetString(FLDictKey *key);
public static extern FLValue *FLDict_GetWithKey(FLDict *dict, FLDictKey *dictKey);
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);