public static FLDoc *FLDoc_FromJSON(byte[] json, FLError *outError)
 {
     fixed(byte *json_ = json)
     {
         return(NativeRaw.FLDoc_FromJSON(new FLSlice(json_, (ulong)json.Length), outError));
     }
 }
 public static FLKeyPath *FLKeyPath_New(byte[] specifier, FLError *error)
 {
     fixed(byte *specifier_ = specifier)
     {
         return(NativeRaw.FLKeyPath_New(new FLSlice(specifier_, (ulong)specifier.Length), error));
     }
 }
 public static FLValue *FLKeyPath_EvalOnce(byte[] specifier, FLValue *root, FLError *error)
 {
     fixed(byte *specifier_ = specifier)
     {
         return(NativeRaw.FLKeyPath_EvalOnce(new FLSlice(specifier_, (ulong)specifier.Length), root, error));
     }
 }
Exemple #4
0
 public static string FLData_ConvertJSON(string json, FLError *outError)
 {
     using (var json_ = new C4String(json)) {
         using (var retVal = NativeRaw.FLData_ConvertJSON((FLSlice)json_.AsC4Slice(), outError)) {
             return(((FLSlice)retVal).CreateString());
         }
     }
 }
Exemple #5
0
 public static string FLJSON5_ToJSON(string json5, FLError *error)
 {
     using (var json5_ = new C4String(json5)) {
         using (var retVal = NativeRaw.FLJSON5_ToJSON((FLSlice)json5_.AsC4Slice(), error)) {
             return(((FLSlice)retVal).CreateString());
         }
     }
 }
 public static byte[] FLApplyJSONDelta(FLValue *old, byte[] jsonDelta, FLError *error)
 {
     fixed(byte *jsonDelta_ = jsonDelta)
     {
         using (var retVal = NativeRaw.FLApplyJSONDelta(old, new FLSlice(jsonDelta_, (ulong)jsonDelta.Length), error)) {
             return(((FLSlice)retVal).ToArrayFast());
         }
     }
 }
Exemple #7
0
 public static byte[] FLData_ConvertJSON(byte[] json, FLError *outError)
 {
     fixed(byte *json_ = json)
     {
         using (var retVal = NativeRaw.FLData_ConvertJSON(new FLSlice(json_, (ulong)json.Length), outError)) {
             return(((C4Slice)retVal).ToArrayFast());
         }
     }
 }
Exemple #8
0
        public static byte[] FLData_ConvertJSON(byte[] json, FLError *outError)
        {
            fixed(byte *b = json)
            {
                var slice = new FLSlice(b, (ulong)json.Length);

                using (var retVal = NativeRaw.FLData_ConvertJSON(slice, outError)) {
                    FLSlice r = retVal;
                    return(((C4Slice)r).ToArrayFast());
                }
            }
        }
Exemple #9
0
 public static string FLSharedKey_GetKeyString(FLSharedKeys *sk, int keyCode, FLError *outError)
 {
     return(NativeRaw.FLSharedKey_GetKeyString(sk, keyCode, outError).CreateString());
 }
 public FLSliceResult FLJSON5_ToJSON(FLSlice json5, FLError *error) => NativeRaw.FLJSON5_ToJSON(json5, error);
 public static extern FLDoc *FLEncoder_FinishDoc(FLEncoder *encoder, FLError *outError);
 public static extern FLSliceResult FLApplyJSONDelta(FLValue *old, FLSlice jsonDelta, FLError *error);
 public FLKeyPath *FLKeyPath_New(FLSlice specifier, FLSharedKeys *shared, FLError *error) => NativeRaw.FLKeyPath_New(specifier, shared, error);
Exemple #14
0
 public static extern FLKeyPath *FLKeyPath_New(FLSlice specifier, FLSharedKeys *shared, FLError *error);
Exemple #15
0
 public static extern FLSliceResult FLJSON5_ToJSON(FLSlice json5, FLError *error);
 public string FLSharedKey_GetKeyString(FLSharedKeys *sk, int keyCode, FLError *outError) => Native.FLSharedKey_GetKeyString(sk, keyCode, outError);
 public FLKeyPath *FLKeyPath_New(byte[] specifier, FLSharedKeys *shared, FLError *error) => Native.FLKeyPath_New(specifier, shared, error);
 public static string FLJSON5_ToJSON(string json5, FLSlice *outErrorMessage, UIntPtr *outErrPos, FLError *err)
 {
     using (var json5_ = new C4String(json5)) {
         using (var retVal = NativeRaw.FLJSON5_ToJSON((FLSlice)json5_.AsFLSlice(), outErrorMessage, outErrPos, err)) {
             return(((FLSlice)retVal).CreateString());
         }
     }
 }
 public static extern FLSliceResult FLJSON5_ToJSON(FLSlice json5, FLSlice *outErrorMessage, UIntPtr *outErrorPos, FLError *outError);
 public FLSliceResult FLEncoder_Finish(FLEncoder *encoder, FLError *outError) => NativeRaw.FLEncoder_Finish(encoder, outError);
 public FLValue *FLKeyPath_EvalOnce(FLSlice specifier, FLSharedKeys *shared, FLValue *root, FLError *error) => NativeRaw.FLKeyPath_EvalOnce(specifier, shared, root, error);
Exemple #22
0
 public static byte[] FLEncoder_Finish(FLEncoder *encoder, FLError *outError)
 {
     using (var retVal = NativeRaw.FLEncoder_Finish(encoder, outError)) {
         return(((C4Slice)retVal).ToArrayFast());
     }
 }
Exemple #23
0
 public static extern FLSliceResult FLData_ConvertJSON(FLSlice json, FLError *outError);
Exemple #24
0
 public static extern FLSliceResult FLEncoder_Finish(FLEncoder *encoder, FLError *outError);
Exemple #25
0
 public static extern FLSlice FLSharedKey_GetKeyString(FLSharedKeys *sk, int keyCode, FLError *outError);
 public FLSliceResult FLData_ConvertJSON(FLSlice json, FLError *outError) => NativeRaw.FLData_ConvertJSON(json, outError);
Exemple #27
0
 public static extern FLValue *FLKeyPath_EvalOnce(FLSlice specifier, FLSharedKeys *shared, FLValue *root, FLError *error);
 public FLSlice FLSharedKey_GetKeyString(FLSharedKeys *sk, int keyCode, FLError *outError) => NativeRaw.FLSharedKey_GetKeyString(sk, keyCode, outError);
 public static extern FLDoc *FLDoc_FromJSON(FLSlice json, FLError *outError);
 public byte[] FLEncoder_Finish(FLEncoder *encoder, FLError *outError) => Native.FLEncoder_Finish(encoder, outError);