public unsafe void InitializeConnection(NativeSlice <byte> sendProcessBuffer, NativeSlice <byte> recvProcessBuffer,
                                         NativeSlice <byte> sharedProcessBuffer)
 {
     if (sharedProcessBuffer.Length >= UnsafeUtility.SizeOf <SimulatorUtility.Parameters>())
     {
         SimulatorUtility.InitializeContext(m_SimulatorParams, sharedProcessBuffer);
     }
 }
        private static void InitializeConnection(byte *staticInstanceBuffer, int staticInstanceBufferLength,
                                                 byte *sendProcessBuffer, int sendProcessBufferLength, byte *recvProcessBuffer, int recvProcessBufferLength,
                                                 byte *sharedProcessBuffer, int sharedProcessBufferLength)
        {
            SimulatorUtility.Parameters param = default;

            UnsafeUtility.MemCpy(&param, staticInstanceBuffer, UnsafeUtility.SizeOf <SimulatorUtility.Parameters>());
            if (sharedProcessBufferLength >= UnsafeUtility.SizeOf <SimulatorUtility.Parameters>())
            {
                SimulatorUtility.InitializeContext(param, sharedProcessBuffer);
            }
        }