"itzik peretz" <it***@tracespan.com> wrote in message
news:c6**************************@posting.google.c om...
i have an array of bytes from variable length and i need to shift it
in variable size of bits between 1-7. do someone know about
constructive way to do it? beside iterate the array and deal with each
byte or word each time .
thanks
You'll have to iterate, sorry. There may be some machine-code instructions
on certain processors that let you do bit-shifts across a span of memory,
but that's assembler, and platform-specific, not something you can do in
standard C++.
-Howard