chg: 'hf list mf' - adapted the output from 16bytes rows to 18 in order to make output more easily to compare

This commit is contained in:
iceman1001
2018-02-15 11:47:34 +01:00
parent 103e0b5191
commit a1dd7c2020
5 changed files with 40 additions and 45 deletions

View File

@@ -181,6 +181,13 @@ char *sprint_hex_inrow_ex(const uint8_t *data, const size_t len, const size_t mi
char *sprint_hex_inrow(const uint8_t *data, const size_t len) {
return sprint_hex_inrow_ex(data, len, 0);
}
char *sprint_hex_inrow_spaces(const uint8_t *data, const size_t len, size_t spaces_between) {
static char buf[1025] = {0};
hex_to_buffer((uint8_t *)buf, data, len, sizeof(buf) - 1, 0, spaces_between, true);
return buf;
}
char *sprint_bin_break(const uint8_t *data, const size_t len, const uint8_t breaks) {