SbNativeArrayT Constructor (IntPtr, Int64, Int64) |
Initializes a new instance from an unmanaged memory.
Namespace: OIV.Inventor.GenericAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 10.3.0.0.Release.e0557e69f65c2f4b712d9d57d8855c64671533f0
Syntaxpublic SbNativeArray(
IntPtr data,
long size,
long capacity
)
Public Sub New (
data As IntPtr,
size As Long,
capacity As Long
)
public:
SbNativeArray(
IntPtr data,
long long size,
long long capacity
)
new :
data : IntPtr *
size : int64 *
capacity : int64 -> SbNativeArray
Parameters
- data
- Type: SystemIntPtr
Handle to unmanaged memory stream. - size
- Type: SystemInt64
Number of initialized elements. - capacity
- Type: SystemInt64
Capacity of the stream (in element's count).
Capacity must be greater than or equal the size
Remarks
The unmanaged memory should be maintained alive as long as
this instance is alive.
See Also