public static void AddSafeSegment(IntPtr allocAddress, int allocSize, IntPtr liveAddress, int liveSize,
                                   [System.Runtime.CompilerServices.CallerMemberName] string memberName    = "",
                                   [System.Runtime.CompilerServices.CallerFilePath] string sourceFilePath  = "",
                                   [System.Runtime.CompilerServices.CallerLineNumber] int sourceLineNumber = 0)
 {
     DelegatedUnsafeMemoryAccess.AddSafeSegment(allocAddress, allocSize, liveAddress, liveSize, memberName, sourceFilePath, sourceLineNumber);
 }
 public static void RemoveSafeSegment(IntPtr address,
                                      [System.Runtime.CompilerServices.CallerMemberName] string memberName    = "",
                                      [System.Runtime.CompilerServices.CallerFilePath] string sourceFilePath  = "",
                                      [System.Runtime.CompilerServices.CallerLineNumber] int sourceLineNumber = 0)
 {
     DelegatedUnsafeMemoryAccess.RemoveSafeSegment(address, memberName, sourceFilePath, sourceLineNumber);
 }
 public static IntPtr GetLiveAddress(IntPtr allocAddress)
 {
     return(DelegatedUnsafeMemoryAccess.GetLiveAddress(allocAddress));
 }
 public static int GetLiveOffset()
 {
     return(DelegatedUnsafeMemoryAccess.GetLiveOffset());
 }
 public static int GetLiveSize(int size)
 {
     return(DelegatedUnsafeMemoryAccess.GetLiveSize(size));
 }
 public static void CheckAddress(void *address, int size)
 {
     DelegatedUnsafeMemoryAccess.CheckAddress(address, size);
 }