Esempio n. 1
0
 private static void OnFfiResultByteListULongCb(IntPtr userData, IntPtr result, IntPtr contentPtr, UIntPtr contentLen)
 {
     BindingUtils.CompleteTask(
         userData,
         Marshal.PtrToStructure <FfiResult>(result),
         () => BindingUtils.CopyToByteList(contentPtr, (int)contentLen));
 }
 public UnregisteredIpcReq(uint reqId, IntPtr extraDataPtr, ulong extraDataLength)
 {
     ReqId     = reqId;
     ExtraData = BindingUtils.CopyToByteList(extraDataPtr, (int)extraDataLength);
 }