Skip to content

Instantly share code, notes, and snippets.

Jan Bednařík JanBednarik

Block or report user

Report or block JanBednarik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am janbednarik on github.
  • I am honz ( on keybase.
  • I have a public key ASB-UgwJce_T6A0BBAAH_f5WUexrSavKxb0WO5zJQcnYsAo

To claim this, I am signing this object:

View Bits rotation
def rotate_left(byte):
Rotate bits left.
bit = byte & 0x80
byte <<= 1
byte |= 0x01
byte &= 0xFF
return byte
You can’t perform that action at this time.