From bf64d848c7c11cd04719718831afc88e145c7264 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 24 Feb 2024 16:55:10 +0100 Subject: [PATCH] declared why2_byte_format_length fn you pass in string created using byte format and it returns the length of it --- include/misc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/misc.h b/include/misc.h index 274a3ce..4d51811 100644 --- a/include/misc.h +++ b/include/misc.h @@ -39,6 +39,7 @@ unsigned long why2_count_repeated_key_size(char *text, char *key); //COUNT repea unsigned long why2_compare_time_micro(struct timeval startTime, struct timeval finishTime); //COMPARE TIMES IN MICROSECONDS void why2_die(char *exit_message); //PRINTS exit_message ERROR AND EXITS WITH CODE 1 char *why2_replace(char *string, char *old, char *new); //REPLACES old IN string WITH new +unsigned short why2_byte_format_length(char *s); //GET LENGTH OF s OF WHY2_OUTPUT_BYTE FORMAT #ifdef __cplusplus }