Table of Contents

Class UnmanagedHelper

Namespace
NumSharp.Backends.Unmanaged
Assembly
NumSharp.dll
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

src IMemoryBlock
dst IMemoryBlock

The block to copy to.

CopyTo(IMemoryBlock, IMemoryBlock, int)

Copies the entire contents of this storage to given address (using Count).

public static void CopyTo(this IMemoryBlock src, IMemoryBlock dst, int countOffsetDesitinion)

Parameters

src IMemoryBlock
dst IMemoryBlock

The block to copy to.

countOffsetDesitinion int

CopyTo(IMemoryBlock, void*)

Copies the entire contents of this storage to given address.

public static void CopyTo(this IMemoryBlock src, void* dstAddress)

Parameters

src IMemoryBlock

The source of the copying

dstAddress void*

The address to copy to.

CopyTo(IMemoryBlock, void*, int)

Copies the entire contents of this storage to given address (using Count).

public static void CopyTo(this IMemoryBlock src, void* dstAddress, int countOffsetDesitinion)

Parameters

src IMemoryBlock
dstAddress void*
countOffsetDesitinion int

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

src UnmanagedMemoryBlock<T>
dst UnmanagedMemoryBlock<T>

The block to copy to.

Type Parameters

T