Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TVecInt BitUnpack(TVecInt Src, TIntPrecision DstPrecision) | Unpacks bit storage to specified integer storage. |
| 2 | TMtxVecInt BitUnpack(TMtxVecInt Src, Int32 SrcIndex, Int32 Index, Int32 Len) | Converts Src to unpacked bit storage. |
Overload 1: TVecInt BitUnpack(TVecInt Src, TIntPrecision DstPrecision)
Unpacks bit storage to specified integer storage.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVecInt | source TVecInt |
| 2 | DstPrecision | TIntPrecision |
Result: stored in self (calling object), returns self for chaining
Overload 2: TMtxVecInt BitUnpack(TMtxVecInt Src, Int32 SrcIndex, Int32 Index, Int32 Len)
Converts Src to unpacked bit storage.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | SrcIndex | Int32 | source start index |
| 3 | Index | Int32 | start index |
| 4 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
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.