DHART
Loading...
Searching...
No Matches
DHARTAPI.NativeUtils Namespace Reference

A set of utilities and common functions that assist in communicating with native code. More...

Namespaces

namespace  CommonNativeArrays
 A set of native array implementations that are useful throughout the entire program.
 

Classes

class  DependentNativeArray
 A native array 2D that doesn't require destruction. More...
 
class  HelperFunctions
 Contains some functions useful for converting data for interop. More...
 
class  NativeArray
 A read-only array stored in unmanaged memory. More...
 
class  NativeArray2D
 A wrapper for a two dimensional array in unmanaged memory. More...
 
class  NativeObject
 An object that holds a pointer to unmanaged memory or some other resource that must be freed. More...
 

Detailed Description

A set of utilities and common functions that assist in communicating with native code.

Remarks
The aim of this namespace is to allow an end user to interact with objects in native memory without ever having to write code with the unsafe keyword, or manually manage the memory of an object. Interacting with these objects should be as intuitive as interacting with standard C# types, without the risk of an unexpected crash or memory leak.