rotl8

Function rotl8 

Source
pub fn rotl8(x: u8, n: u8) -> u8
Expand description

Rotate an 8-bit byte left by n bits.

§Arguments

  • x - The 8-bit byte to rotate
  • n - Number of bits to rotate left (0-7)

§Returns

The rotated 8-bit byte