class UIntArray
Summary
This class represents an unsigned 32-bit array managed by the Max Environment.
syntax:
public class UIntArray : Array<uint>
namespace: max.process.arr.type
Constructors
UIntArray(IntPtr Pointer, ulong Count, ulong Alignment)
Instantiates an array of uints with a given pointer, element count and alignment.
syntax:
public UIntArray(IntPtr Pointer, ulong Count, ulong Alignment) : base(Pointer, Count, Alignment)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | Pointer | Array pointer |
ulong | Count | Number of elements |
ulong | Alignment | Alignment |
UIntArray(ulong Count)
Instantiates an array of uints with a certain number of elements.
syntax:
public UIntArray(ulong Count) : base(Count)
Parameters
Type | Name | Description |
---|---|---|
ulong | Count | Number of elements |
UIntArray(uint[] Elements)
Instantiates an array of uints with an array.
syntax:
public UIntArray(uint[] Elements) : base(Elements)
Parameters
Type | Name | Description |
---|---|---|
uint[] | Elements | Elements |
Methods
CopyFromLength(uint[] Array, int Length)
Copies a source array to this one, of a certain length of elements.
syntax:
protected override void CopyFromLength(uint[] Array, int Length)
Parameters
Type | Name | Description |
---|---|---|
uint[] | Array | Source |
int | Length | Length |
InstanceCreate(ulong Length)
Creates an instance of UIntArray of a specified length.
syntax:
public override IDataType InstanceCreate(ulong Length)
Parameters
Type | Name | Description |
---|---|---|
ulong | Length | Length |
Returns: Instance ( override IDataType )
Operators
UIntArray
Implicitly converts a uint array to an instance of UIntArray.
syntax:
public static implicit operator UIntArray(uint[] Value) => new UIntArray(Value);