Add function to convert byte to hex.

This commit is contained in:
2025-06-22 02:43:13 +01:00
parent 64e6aa579f
commit 7aeb1a5e35

View File

@@ -49,3 +49,8 @@ fn format_array_as_hex(ref auto arg)
return result; return result;
}; };
fn format_byte_as_hex(u8 arg)
{
return std::format("{}", arg);
};