Function fmtSliceHexUpper [src]

Return a Formatter for a []const u8 where every byte is formatted as pair of uppercase hexadecimal digits.

Prototype

pub fn fmtSliceHexUpper(bytes: []const u8) std.fmt.Formatter(formatSliceHexUpper)

Parameters

bytes: []const u8

Source

pub fn fmtSliceHexUpper(bytes: []const u8) std.fmt.Formatter(formatSliceHexUpper) { return .{ .data = bytes }; }