DescriptionAdds a QuicUtil::HexDump method that provides better debug output of binary data.
Example output:
48 65 6c 6c 6f 2c 20 51 55 49 43 21 20 54 68 69 |Hello, QUIC! Thi|
73 20 73 74 72 69 6e 67 20 73 68 6f 75 6c 64 20 |s string should |
62 65 20 6c 6f 6e 67 20 65 6e 6f 75 67 68 20 74 |be long enough t|
6f 20 73 70 61 6e 20 6d 75 6c 74 69 70 6c 65 20 |o span multiple |
6c 69 6e 65 73 20 6f 66 20 6f 75 74 70 75 74 2e |lines of output.|
01 02 03 04 |.... |
Merge internal change: 126091835
R=rch@chromium.org
BUG=
Patch Set 1 #Patch Set 2 : Replace use of ascii_isprint #Patch Set 3 : Use uppercase hex characters #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 2 (0 generated)
|