Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxInt *BitPack(TMtxInt *Src) const; | Converts Src to packed bit storage. |
| 2 | TMtxVecInt *BitPack(TMtxVecInt *Src, const int SrcIndex, const int Index, const int Len) const; | Converts Src to packed bit storage. |
Overload 1: TMtxInt *BitPack(TMtxInt *Src) const;
Converts Src to packed bit storage.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxInt * |
If Src[i] <> 0 then bit at index "i" in the calling vector is set to 1. If Src.Length is not divisable with 32, the remaining bits in the last sample are left at 0. The storage precision of the calling object is set to prInt32. The size of the calling object is adjusted automatically. Packing if array with precision other than Int32 is 8x slower. Packing of array with precision other than Int32 is 8x slower.
Overload 2: TMtxVecInt *BitPack(TMtxVecInt *Src, const int SrcIndex, const int Index, const int Len) const;
Converts Src to packed bit storage.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | SrcIndex | const int | |
| 3 | Index | const int | |
| 4 | Len | const int |
Returns the result of bit packing the Src values [SrcIndex]..[SrcIndex+Len-1] and stored in the calling object bits from [0]..[0+Len-1]. If Len is not divisable with 32, the remaining bits in the last sample are left at 0. The storage precision of the calling object is set to prInt32. The size of the calling object is adjusted automatically. Packing of array with precision other than Int32 is 8x slower.