diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-02-24 12:29:31 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-02-24 12:29:31 +0800 |
| commit | fbf4054ea8e11bae65196b7069c56375ca4e79b9 (patch) | |
| tree | 4d54f17f214ea196ac53e5b16a222958d19d6b6a /utils/hex_display/src/macros.rs | |
| parent | eec323baf28f1a588f835aa773b77e019f91446d (diff) | |
Add hex_display utility crate
Diffstat (limited to 'utils/hex_display/src/macros.rs')
| -rw-r--r-- | utils/hex_display/src/macros.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/hex_display/src/macros.rs b/utils/hex_display/src/macros.rs new file mode 100644 index 0000000..77f9d43 --- /dev/null +++ b/utils/hex_display/src/macros.rs @@ -0,0 +1,9 @@ +#[macro_export] +macro_rules! hex_display { + ($slice:expr) => { + hex_display::hex_display_slice($slice) + }; + ($vec:expr) => { + hex_display::hex_display_vec($vec) + }; +} |
