#ifndef BUFSHIFT_H_
#define BUFSHIFT_H_

void RotateBufRight(char* begin, char* end, int n);
void RotateBufLeft(char* begin, char* end, int n);

void SwapBuffer(char* p1, char* p2, unsigned len);
void SwapBufferParts(char* begin1, char* end1, char* begin2, char* end2);

#endif
