Click or drag to resize
SbNativeArrayT Constructor (IntPtr, Int64, Int64, Boolean)
Initializes a new instance from an unmanaged memory.

Namespace: OIV.Inventor.Generic
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.1.1.Release.7989217834dd2b99155f267b6c8c70f9feacdedd
Syntax
public SbNativeArray(
	IntPtr data,
	long size,
	long capacity,
	bool writable
)

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
writable
Type: SystemBoolean
The setting of the CanWrite property, which determines whether the stream supports writing.
Remarks
The unmanaged memory should be maintained alive as long as this instance is alive.
See Also