TVecByte::Resize Method

Overload List

#SignatureDescription
1TVecInt *Resize(TVecInt *Src, int Len, bool ZeroIt = false);Resizes vector size while preserving values.
2TVecInt *Resize(int Len, bool ZeroIt = false);Resizes calling vector Length to Len.

Overload 1: TVecInt *Resize(TVecInt *Src, int Len, bool ZeroIt = false);

Resizes vector size while preserving values.

#NameTypeDescription
1SrcTVecInt *
2Lenint
3ZeroIt = falsebool
Remarks:

Resizes calling vector TVecByte::Length to Len and fills it with Src vector first Len values. If Src length is less than Len and ZeroIt parameter is true, the remaining calling vector values are set to zero.

Declared in Dew::Math::TVecInt · Dew.Math/MtxVecInt.h · Cross-compiler

Overload 2: TVecInt *Resize(int Len, bool ZeroIt = false);

Resizes calling vector Length to Len.

#NameTypeDescription
1Lenint
2ZeroIt = falsebool
Remarks:

If TVecByte::Length is less than Len and ZeroIt parameter is true, the remaining calling vector values are set to zero.

Declared in Dew::Math::TVecInt · Dew.Math/MtxVecInt.h · Cross-compiler