| SbNativeArrayT Constructor (IntPtr, Int64, Int64, Boolean) |
Initializes a new instance from an unmanaged memory.
Namespace: OIV.Inventor.GenericAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2026.1.0.Release.0310c5a2706944284e5b97cec8929e1e2f70c73d
Syntaxpublic SbNativeArray(
IntPtr data,
long size,
long capacity,
bool writable
)
Public Sub New (
data As IntPtr,
size As Long,
capacity As Long,
writable As Boolean
)
public:
SbNativeArray(
IntPtr data,
long long size,
long long capacity,
bool writable
)
new :
data : IntPtr *
size : int64 *
capacity : int64 *
writable : bool -> SbNativeArrayParameters
- 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