Closed kozross closed 2 months ago
Similar to #10:
rotateByteString [] 3 => []
rotateByteString [] (-1) => []
rotateByteString [0xEB, 0xFC] 5 => [0x7F, 0x9D]
rotateByteString [0xEB, 0xFC] (-5) => [0xE7, 0x5F]
rotateByteString [0xEB, 0xFC] 16 => [0xEB, 0xFC]
rotateByteString [0xEB, 0xFC] (-16) => [0xEB, 0xFC]
rotateByteString [0xEB, 0xFC] 21 =>[0x7F, 0x9D]
rotateByteString [0xEB, 0xFC] (-21) => [0xE7, 0x5F]
Similar to #10:
rotateByteString [] 3 => []
rotateByteString [] (-1) => []
rotateByteString [0xEB, 0xFC] 5 => [0x7F, 0x9D]
rotateByteString [0xEB, 0xFC] (-5) => [0xE7, 0x5F]
rotateByteString [0xEB, 0xFC] 16 => [0xEB, 0xFC]
rotateByteString [0xEB, 0xFC] (-16) => [0xEB, 0xFC]
rotateByteString [0xEB, 0xFC] 21 =>[0x7F, 0x9D]
rotateByteString [0xEB, 0xFC] (-21) => [0xE7, 0x5F]