From a8a35ea688b07a6cd3e342ad75e045b7433d294b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 5 Nov 2024 15:33:08 -0500 Subject: Add Byte.hex() --- stdlib/bytes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stdlib/bytes.h') diff --git a/stdlib/bytes.h b/stdlib/bytes.h index f073979f..ef5c0729 100644 --- a/stdlib/bytes.h +++ b/stdlib/bytes.h @@ -28,6 +28,8 @@ extern const Byte_t Byte$max; extern const TypeInfo_t Byte$info; +Text_t Byte$hex(Byte_t byte, bool uppercase, bool prefix); + typedef struct { Byte_t value; bool is_null:1; -- cgit v1.2.3