Implement right and left shift operation for byte slice