Class UnmanagedHelper
public static class UnmanagedHelper
- Inheritance
-
UnmanagedHelper
- Inherited Members
Methods
CopyTo(IMemoryBlock, IMemoryBlock)
Copies the entire contents of this storage to given address (using Count).
public static void CopyTo(this IMemoryBlock src, IMemoryBlock dst)
Parameters
srcIMemoryBlockdstIMemoryBlockThe block to copy to.
CopyTo(IMemoryBlock, IMemoryBlock, long)
Copies the entire contents of this storage to given address (using Count).
public static void CopyTo(this IMemoryBlock src, IMemoryBlock dst, long countOffsetDestination)
Parameters
srcIMemoryBlockdstIMemoryBlockThe block to copy to.
countOffsetDestinationlongThe element offset in the destination where copying begins.
CopyTo(IMemoryBlock, void*)
Copies the entire contents of this storage to given address.
public static void CopyTo(this IMemoryBlock src, void* dstAddress)
Parameters
srcIMemoryBlockThe source of the copying
dstAddressvoid*The address to copy to.
CopyTo(IMemoryBlock, void*, long)
Copies the entire contents of this storage to given address (using Count).
public static void CopyTo(this IMemoryBlock src, void* dstAddress, long countOffsetDestination)
Parameters
srcIMemoryBlockdstAddressvoid*The address to copy to.
countOffsetDestinationlongThe element offset in the destination where copying begins.
CopyTo<T>(UnmanagedMemoryBlock<T>, UnmanagedMemoryBlock<T>)
Copies the entire contents of this storage to given address (using Count).
public static void CopyTo<T>(this UnmanagedMemoryBlock<T> src, UnmanagedMemoryBlock<T> dst) where T : unmanaged
Parameters
srcUnmanagedMemoryBlock<T>dstUnmanagedMemoryBlock<T>The block to copy to.
Type Parameters
T