Function dumpHexFallible [src]

Prints a hexadecimal view of the bytes, unbuffered, returning any error that occurs.

Prototype

pub fn dumpHexFallible(bytes: []const u8) !void

Parameters

bytes: []const u8

Source

pub fn dumpHexFallible(bytes: []const u8) !void { const stderr = std.io.getStdErr(); const ttyconf = std.io.tty.detectConfig(stderr); const writer = stderr.writer(); try dumpHexInternal(bytes, ttyconf, writer); }