Int formatting working
+ Using num-bigint to support arbitrarily sized ints + Added formatting tests
This commit is contained in:
4 files changed
+127
-13
No files matched your search
@@ -3,7 +3,7 @@ pub enum ByteStreamError {
|
||||
OutOfRange,
|
||||
}
|
||||
|
||||
const fn bit_mask(mask: u8) -> u8 {
|
||||
pub const fn bit_mask(mask: u8) -> u8 {
|
||||
match mask {
|
||||
0 => 0x00,
|
||||
1 => 0x01,
|
||||
|
||||
Reference in new issue
Block a user