switchboard.bitvector module

Classes:

BitVector([value])

Functions:

slice_to_msb_lsb([start, stop, step])

class switchboard.bitvector.BitVector(value=0)[source]

Bases: object

Parameters:

value (int)

static frombytes(arr)[source]
tobytes(n=None)[source]
switchboard.bitvector.slice_to_msb_lsb(start=None, stop=None, step=None)[source]