Text
Functions for manipulating and parsing text.
f_find_next_word
uint f_find_next_word(char *text);
f_find_word_compare
boolean f_find_word_compare(char *text_a, char *text_b);
f_text_copy
uint f_text_copy(uint length, char *dest, char *source);
f_text_compare
boolean f_text_compare(char *text_a, char *text_b);
f_text_copy_allocate
char *f_text_copy_allocate(char *source);
f_word_copy
uint f_word_copy(uint length, char *dest, char *source);
f_text_copy_until
uint f_text_copy_until(uint length, char *dest, char *source, char *until);
f_text_filter
boolean f_text_filter(char *text, char *filter);
f_text_unique
boolean f_text_unique(char *text, uint buffer_length, char *compare);
f_text_load
char *f_text_load(char *file_name, size_t *size);
f_text_parce_hex
uint f_text_parce_hex(char *text, uint64 *output);
f_text_parce_decimal
uint f_text_parce_decimal(char *text, uint64 *output);
f_text_parce_real
uint f_text_parce_real(char *text, int64 *integer_output, double *real_output, boolean *decimal);
f_text_parce_double
uint f_text_parce_double(char *text, double *real_output);
f_print_raw
void f_print_raw(uint8 *data, uint size);
f_fprint_raw
void f_fprint_raw(FILE *file, uint8 *data, uint size);
f_text_obfuscate
boolean f_text_obfuscate(char *out_buffer, uint buffer_size, char *in_buffer);
f_text_obfuscate_print
void f_text_obfuscate_print(char *in_buffer);
f_bits_to_text
void f_bits_to_text(uint64 bits, char *text);
Description: Generates a 13 byte string that esay for a human to repeat (using numbers and letters that are easy to distinguish). the output is terminated, so it needs space for 14 characters.f_text_to_bits
uint f_text_to_bits(uint64 *bits, char *text);
Description: Converts a 14 byte string (13 characters + termination) in to a 64 bit value. returns the numbert of bytes read. Returns 0 if it fails.