When bytes at the end of a dump were not aligned with the "group_every"
option, half of the last byte would be truncated.
No-Docs-Update-Reason: Bugfix
Change-Id: Ibe349c9f34f41281122583a6e7dff84d4f991333
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/49305
Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Armando Montanez <amontanez@google.com>
- Update Status::CODE style to Status::Code() using
pw_status/update_style.py.
- Make minor adjustments to the pw_assert tests to get them passing.
Change-Id: Ie54c3c605178fd1e42c7cedbcff324115f3ed279
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/19165
Commit-Queue: Wyatt Hepler <hepler@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
pw_hex_dump provides generalized tools to help dump data as hex for
debugging purposes. This first commit adds a class to dump ByteSpans as
hex.
Example hex dump format:
Offs. 0 1 2 3 4 5 6 7 8 9 A B C D E F Text
0000: A4 CC 32 62 9B 46 38 1A 23 1A 2A 7A BC E2 40 A0 ..2b.F8.#.*z..@.
0010: FF 33 E5 2B 9E 9F 6B 3C BE 9B 89 3C 7E 4A 7A 48 .3.+..k<...<~JzH
0020: 18 .
Change-Id: I67e9e2a82395cca2bee6650e4a1f73c9f2d7858b
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/13581
Reviewed-by: Wyatt Hepler <hepler@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Armando Montanez <amontanez@google.com>