This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file buf_splitter.c | |
* | |
* @brief Split a string into a series of records. | |
* | |
* @details Parse lines from a string in modifiable memory. A control structure | |
* is initialized first. Then substrings separated by the specified | |
* record-separator are returned by repeated calls to bs_next(). The end of | |
* available strings is indicated by bs_next() returning NULL. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* (C) 2020 Edward Hetherington | |
* This code is licensed under MIT license (see LICENSE in top dir for details) | |
*/ | |
/** | |
* @file hexformat.c | |
* @brief Format a memory buffer to a hex representation in another | |
* buffer. | |
* @details The output includes a hex offset relative to the beginning of |