You are here: Symbol Reference > AbstractMtxVecInt Namespace > Classes > TMtxVecInt Class > public > BitShift Method > TMtxVecInt.BitShift Method (integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVecInt.BitShift Method (integer, integer, integer)

Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in the calling object.

Pascal
function BitShift(Bits: integer; Index: integer; Len: integer): TMtxVecInt; overload;

the result of binary shift to the left or right by number of Bits applied to values [Index]..[Index+Len-1] in the calling object and stored back in the calling object. The sign of the numbers is preserved when doing right shift.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!