aboutsummaryrefslogtreecommitdiff
path: root/stdlib/bytes.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-05 15:33:08 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-05 15:33:08 -0500
commita8a35ea688b07a6cd3e342ad75e045b7433d294b (patch)
tree385a6f7de6fedd54b0e0678d778e6908f67aed19 /stdlib/bytes.h
parentb238f1df41eb4f3badd69abc9ae0b5dc857e58a6 (diff)
Add Byte.hex()
Diffstat (limited to 'stdlib/bytes.h')
-rw-r--r--stdlib/bytes.h2
1 files changed, 2 insertions, 0 deletions
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;