Module bit

Module bit 

Source
Expand description

Bit manipulations

Functions§

as_char
Returns bit represented as char e.g ‘0’ or ‘1’
get
Get bit from byte
set
Set bit in byte
toggle
Toggle bit in byte
unset
Unset bit in byte