# module bitfield ## Contents - [bf_and](#bf_and) - [bf_not](#bf_not) - [bf_or](#bf_or) - [bf_xor](#bf_xor) - [from_bytes](#from_bytes) - [from_bytes_lowest_bits_first](#from_bytes_lowest_bits_first) - [from_str](#from_str) - [hamming](#hamming) - [join](#join) - [new](#new) - [BitField](#BitField) - [str](#str) - [free](#free) - [get_bit](#get_bit) - [set_bit](#set_bit) - [clear_bit](#clear_bit) - [extract](#extract) - [insert](#insert) - [extract_lowest_bits_first](#extract_lowest_bits_first) - [insert_lowest_bits_first](#insert_lowest_bits_first) - [set_all](#set_all) - [clear_all](#clear_all) - [toggle_bit](#toggle_bit) - [set_if](#set_if) - [toggle_bits](#toggle_bits) - [set_bits](#set_bits) - [clear_bits](#clear_bits) - [has](#has) - [all](#all) - [get_size](#get_size) - [clone](#clone) - [==](#==) - [pop_count](#pop_count) - [pos](#pos) - [slice](#slice) - [reverse](#reverse) - [resize](#resize) - [rotate](#rotate) - [shift_left](#shift_left) - [shift_right](#shift_right) ## bf_and [[Return to contents]](#Contents) ## bf_not [[Return to contents]](#Contents) ## bf_or [[Return to contents]](#Contents) ## bf_xor [[Return to contents]](#Contents) ## from_bytes [[Return to contents]](#Contents) ## from_bytes_lowest_bits_first [[Return to contents]](#Contents) ## from_str [[Return to contents]](#Contents) ## hamming [[Return to contents]](#Contents) ## join [[Return to contents]](#Contents) ## new [[Return to contents]](#Contents) ## BitField [[Return to contents]](#Contents) ## str [[Return to contents]](#Contents) ## free [[Return to contents]](#Contents) ## get_bit [[Return to contents]](#Contents) ## set_bit [[Return to contents]](#Contents) ## clear_bit [[Return to contents]](#Contents) ## extract [[Return to contents]](#Contents) ## insert [[Return to contents]](#Contents) ## extract_lowest_bits_first [[Return to contents]](#Contents) ## insert_lowest_bits_first [[Return to contents]](#Contents) ## set_all [[Return to contents]](#Contents) ## clear_all [[Return to contents]](#Contents) ## toggle_bit [[Return to contents]](#Contents) ## set_if [[Return to contents]](#Contents) ## toggle_bits Example ```v toggle_bits(1,3,5,7) ``` [[Return to contents]](#Contents) ## set_bits Example ```v set_bits(1,3,5,7) ``` [[Return to contents]](#Contents) ## clear_bits Example ```v clear_bits(1,3,5,7) ``` [[Return to contents]](#Contents) ## has Example ```v has(1,3,5,7) ``` [[Return to contents]](#Contents) ## all Example ```v all(1,3,5,7) ``` [[Return to contents]](#Contents) ## get_size [[Return to contents]](#Contents) ## clone [[Return to contents]](#Contents) ## == [[Return to contents]](#Contents) ## pop_count [[Return to contents]](#Contents) ## pos [[Return to contents]](#Contents) ## slice [[Return to contents]](#Contents) ## reverse [[Return to contents]](#Contents) ## resize [[Return to contents]](#Contents) ## rotate [[Return to contents]](#Contents) ## shift_left [[Return to contents]](#Contents) ## shift_right [[Return to contents]](#Contents) #### Powered by vdoc. Generated on: 7 Feb 2025 12:06:55