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