예제 #1
0
        public static IDictionary <string, object> bridge_c4repl_getResponseHeaders(C4Replicator *repl)
        {
            var result = c4repl_getResponseHeaders(repl);

            return(FLSliceExtensions.ToObject(NativeRaw.FLValue_FromTrustedData((FLSlice)result)) as
                   IDictionary <string, object>);
        }
예제 #2
0
 public static FLValue *FLValue_FromTrustedData(byte[] data)
 {
     fixed(byte *data_ = data)
     {
         return(NativeRaw.FLValue_FromTrustedData(new FLSlice(data_, (ulong)data.Length)));
     }
 }
 public FLValue *FLValue_FromTrustedData(FLSlice data) => NativeRaw.FLValue_FromTrustedData(data);