Commit Graph

2 Commits

Author SHA1 Message Date
Wyatt Hepler
d49f8fe3f3 BUILD.gn files: Improve import formatting
The "# gn-format disable" comments are no longer necessary. Delete these
comments and reformat with a Vim macro and gn format.

Change-Id: Ia62c40ad73eef91187d0d443d6e3b0fa723e5aa9
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/21380
Reviewed-by: Armando Montanez <amontanez@google.com>
Commit-Queue: Wyatt Hepler <hepler@google.com>
2020-10-15 18:12:55 +00:00
Armando Montanez
593d0d5835 pw_hex_dump: Create module
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>
2020-07-20 18:31:05 +00:00