Adds checks for if a bit in a u8 is set or clear
Trevors Utilities
Overview
Trevors Utilities is a collection of code that Trevor has found useful. All code has the following criteria:
- Traits as appropriate, implemented for concrete types
- All code must have 100% code coverage to be part of a 'tagged release'
- All code must have 100% documentation coverage with examples of inputs and outputs
Code Areas
Number System Conversion
A variety of methods for converting numbers between systems. Functionality includes
- Joining u8 values into u16 values with low and high bytes
- Splitting u16 values into the high and low u8 values
- Swapping endianness of u16 values
- Converting an array of bool values into the equivalent value in u8 with bits in MSB order
Test Compression
Methods for compressing and decompressing test results using deflate compression.
Description
Languages
Rust
100%