Function dumpHex [src]
Tries to print a hexadecimal view of the bytes, unbuffered, and ignores any error returned.
Obtains the stderr mutex while dumping.
Prototype
pub fn dumpHex(bytes: []const u8) void
Parameters
bytes: []const u8
Source
pub fn dumpHex(bytes: []const u8) void {
const bw = lockStderrWriter(&.{});
defer unlockStderrWriter();
const ttyconf = tty.detectConfig(.stderr());
dumpHexFallible(bw, ttyconf, bytes) catch {};
}