TVecSmallInt::BitUnpack Method

Overload List

#SignatureDescription
1TMtxVecInt *BitUnpack(TMtxVecInt *Src, int SrcIndex, int Index, int Len);Converts Src to unpacked bit storage.
2TVecInt *BitUnpack(TVecInt *Src, const TIntPrecision DstPrecision = TIntPrecision::prInt32);Unpacks bit storage to specified integer storage.

Overload 1: TMtxVecInt *BitUnpack(TMtxVecInt *Src, int SrcIndex, int Index, int Len);

Converts Src to unpacked bit storage.

#NameTypeDescription
1SrcTMtxVecInt *
2SrcIndexint
3Indexint
4Lenint
Remarks:

If bit at Src[i] <> 0 then Integer (32, 16 or 8bit) at index "i" in the calling vector is set to 1. Returns the result of bit unpacking the bits stored in Src values [SrcIndex]..[SrcIndex + Len - 1] and stored in the calling object (Self) values [Index]..[Index+Len-1]. The storage precision of the calling object is preserved. The Len parameter specifies the number of bits that will be unpacked from Src.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 2: TVecInt *BitUnpack(TVecInt *Src, const TIntPrecision DstPrecision = TIntPrecision::prInt32);

Unpacks bit storage to specified integer storage.

#NameTypeDescription
1SrcTVecInt *
2DstPrecision = TIntPrecision::prInt32const TIntPrecision
Declared in Dew::Math::TVecInt · Dew.Math/MtxVecInt.h · Cross-compiler