Trf_ShiftRegister(3) Shift the register.


#include <transform.h>

void Trf_ShiftRegister
       void *buffer,

       void *in,

       int shift,

       int buffer_length



void *buffer
Data shifted to the left.
void *in
2nd register shifted into the buffer.
int shift
Number of bytes to shift out (and in).
int buffer_length
Length of buffer and in (in byte).


The register is shifted 'shift' bytes to the left. The same number of bytes from the left of the 2nd register ('in') is inserted at the right of 'buffer' to replace the lost bytes.