TVecByte.SizeFromArray Method

Overload List

#SignatureDescription
1procedure SizeFromArray(const Src: TCplxArray);Sets the size of the vector to match an array.
2procedure SizeFromArray(const Src: TByteArray);Sets the size of the vector to match an array.
3procedure SizeFromArray(const Src: TDoubleArray);Sets the size of the vector to match an array.
4procedure SizeFromArray(const Src: TSmallIntArray);Sets the size of the vector to match an array.
5procedure SizeFromArray(const Src: TIntegerArray);Sets the size of the vector to match an array.
6procedure SizeFromArray(const Src: TSingleArray);Sets the size of the vector to match an array.

Overload 1: procedure SizeFromArray(const Src: TCplxArray);

Sets the size of the vector to match an array.

#NameTypeDescription
1SrcTCplxArray

Result: stored in self (calling object)

Remarks:

Sets the Length of the calling vector to match the length of the array. IntPrecision property value is preserved.

Overload 2: procedure SizeFromArray(const Src: TByteArray);

Sets the size of the vector to match an array.

#NameTypeDescription
1SrcTByteArray

Result: stored in self (calling object)

Remarks:

Sets the size (Length) of the caling vector to match the length of the array. IntPrecision property value is preserved.

Overload 3: procedure SizeFromArray(const Src: TDoubleArray);

Sets the size of the vector to match an array.

#NameTypeDescription
1SrcTDoubleArray

Result: stored in self (calling object)

Remarks:

Sets the Length of the calling vector to match the length of the array. IntPrecision property value is preserved.

Overload 4: procedure SizeFromArray(const Src: TSmallIntArray);

Sets the size of the vector to match an array.

#NameTypeDescription
1SrcTSmallIntArray

Result: stored in self (calling object)

Remarks:

Sets the Length of the calling vector to match the length of the array. IntPrecision property value is preserved.

Overload 5: procedure SizeFromArray(const Src: TIntegerArray);

Sets the size of the vector to match an array.

#NameTypeDescription
1SrcTIntegerArray

Result: stored in self (calling object)

Remarks:

Sets the Length of the calling vector to match the length of the array. IntPrecision property value is preserved.

Overload 6: procedure SizeFromArray(const Src: TSingleArray);

Sets the size of the vector to match an array.

#NameTypeDescription
1SrcTSingleArray

Result: stored in self (calling object)

Remarks:

Sets the Length of the calling vector to match the length of the array. IntPrecision property value is preserved.