SimpleArrayByte

References
Wrapper for ON_SimpleArray<unsigned char>. If you are not writing C++ code then this class is not for you.

Constructors

SimpleArrayByte

#Since v7.0
Initializes a new SimpleArrayByte class.
public SimpleArrayByte()

SimpleArrayByte

#Since v7.0
Initializes a new SimpleArrayByte class
public SimpleArrayByte(
values
initial set of integers to add to the array
)

SimpleArrayByte

#Since v7.0
Initializes a new SimpleArrayByte class. Initial size of the array - all values are set to zero.
public SimpleArrayByte(
initialSize
)

SimpleArrayByte

#Since v7.0
Initializes a new SimpleArrayByte with the contents of another SimpleArrayByte.
public SimpleArrayByte(
SimpleArrayByte
other
)

Finalizer

~SimpleArrayByte

#
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
~SimpleArrayByte()

Properties

Count

#Since v7.0
Gets the amount of elements in this array.
public int Count { get; }

Methods

Array

#Since v7.0
Return the raw data.
public nint Array()

ConstPointer

#Since v7.0
Gets the constant (immutable) pointer of this array.
public nint ConstPointer()
The constant pointer.

CopyTo

#Since v7.0
Copies the contents of a SimpleArrayByte into another SimpleArrayByte.
public void CopyTo()

Dispose

#Since v7.0
Actively reclaims unmanaged resources that this instance uses.
public void Dispose()

NonConstPointer

#Since v7.0
Gets the non-constant pointer (for modification) of this array.
public nint NonConstPointer()
The non-constant pointer.

ToArray

#Since v7.0
Returns the managed counterpart of the unmanaged array.
public byte[] ToArray()
The managed array.