Function fmtSliceEscapeUpper [src]
Return a Formatter for a []const u8 where every non-printable ASCII
character is escaped as \xNN, where NN is the character in uppercase
hexadecimal notation.
Prototype
pub fn fmtSliceEscapeUpper(bytes: []const u8) std.fmt.Formatter(formatSliceEscapeUpper)
Parameters
bytes: []const u8
Source
pub fn fmtSliceEscapeUpper(bytes: []const u8) std.fmt.Formatter(formatSliceEscapeUpper) {
return .{ .data = bytes };
}