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)