mirror of
https://github.com/aaru-dps/imhex-patterns.git
synced 2025-12-16 03:04:37 +00:00
Add function to convert byte to hex.
This commit is contained in:
@@ -49,3 +49,8 @@ fn format_array_as_hex(ref auto arg)
|
||||
|
||||
return result;
|
||||
};
|
||||
|
||||
fn format_byte_as_hex(u8 arg)
|
||||
{
|
||||
return std::format("{}", arg);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user