utils_box_bits/
lib.rs

1//! # Summary
2//! A toolbox library that holds a useful collection of small unitilies written in Rust that make our life easier when writting Rust applications.
3//!
4//! # Utilities provided:
5//!
6//! ## Bits
7//! Convertions between different representations of raw bit streams
8//!
9//! Mininal Example:
10//! ```ignore
11//! let received_bit_stream: u64 = 0b110101000100111010110;
12//!
13//! let bytes = bits::bits_to_vec(received_bit_stream,21);
14//!
15//! println!("Received bit stream: {} ", bits::bit_vec_to_hex_string(&bytes));
16//!
17//! ```
18//!
19
20pub mod bits;