예제 #1
0
 public static void UnmapView(IntPtr sharedMemory, IntPtr location, IntPtr size, MemoryBlock owner)
 {
     _placeholders.UnmapView(sharedMemory, location, size, owner);
 }
예제 #2
0
 /// <summary>
 /// Unmaps a view of memory from another memory block.
 /// </summary>
 /// <param name="srcBlock">Memory block from where the backing memory was taken during map</param>
 /// <param name="offset">Offset of the view previously mapped with <see cref="MapView"/></param>
 /// <param name="size">Size of the range to be unmapped</param>
 public void UnmapView(MemoryBlock srcBlock, ulong offset, ulong size)
 {
     MemoryManagement.UnmapView(srcBlock._sharedMemory, GetPointerInternal(offset, size), size, this);
 }
예제 #3
0
 public static void MapView(IntPtr sharedMemory, ulong srcOffset, IntPtr location, IntPtr size, MemoryBlock owner)
 {
     _placeholders.MapView(sharedMemory, srcOffset, location, size, owner);
 }