Int formatting working

+ Using num-bigint to support arbitrarily sized ints
+ Added formatting tests
This commit is contained in:
joeyahines committed 2021-10-09 08:42:17 -06:00
1 parent b85ba31f91
commit 9e5b0aafbd
4 files changed
+127 -13

No files matched your search

+1 -1
View File
@@ -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,