Class ManagedNativeArray
Wraps a managed byte[] in a NativeArray<byte>without copying memory.
Implements
Inherited Members
Namespace: KtxUnity
Assembly: solution.dll
Syntax
public class ManagedNativeArray : IDisposable
Constructors
| Name | Description |
|---|---|
| ManagedNativeArray(byte[]) | Wraps a managed byte[] in a NativeArray<byte>without copying memory. |
Properties
| Name | Description |
|---|---|
| nativeArray | Points to the managed NativeArray<byte>. |
Methods
| Name | Description |
|---|---|
| Dispose() | Disposes the managed NativeArray<byte>. |