From 47082f3de264a673d78baa5ca3c000c25d6e0867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Wed, 9 Sep 2026 08:47:24 +0200 Subject: [PATCH] comment update --- src/string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/string.h b/src/string.h index 5dcc72c..1bcfad7 100644 --- a/src/string.h +++ b/src/string.h @@ -103,9 +103,9 @@ static INLINE Str str_skip(Str str, U32 len) return new_str; } -// Destination must be at least source.len * 2. Returns hex_result. +// hex_result must be at least source.len * 2. Returns hex_result. Str str_hex_encode(Str binary_data, Str hex_result); -// Destination must be at least source.len / 2. Returns result. +// result must be at least source.len / 2. Returns result. Str str_hex_decode(Str hex_str, Str result); static INLINE Str str_hex_encode_alloc(Allocator *allocator, Str binary_data)