aboutsummaryrefslogtreecommitdiff
path: root/lib/std/testing.zig
diff options
context:
space:
mode:
authorWooster <wooster0@proton.me>2023-08-03 09:02:24 +0200
committerAndrew Kelley <andrew@ziglang.org>2024-01-08 00:13:06 -0700
commitdfc4d618dd31c00e339344962a839db5208ade8f (patch)
tree961ec373c4685a246cf746c9babc965dfe3a6dbe /lib/std/testing.zig
parentf5978181e41e272b5c272440b9c543ead0357e2e (diff)
downloadzig-dfc4d618dd31c00e339344962a839db5208ade8f.tar.gz
zig-dfc4d618dd31c00e339344962a839db5208ade8f.zip
general-use std.debug.hexdump for printing hexdumps
Recently, when I've been working with structures of data that is not directly in RAM but rather laid out in bytes somewhere else, it was always very useful to print out maybe the next 50 bytes or the previous 50 bytes or so to see what's ahead or before me. I would usually do this with a quick `std.debug.print("{any}\n", .{bytes});` or something but the output is not as nice obviously.
Diffstat (limited to 'lib/std/testing.zig')
0 files changed, 0 insertions, 0 deletions