absl::PadSpec

Specifies the number of significant digits to return in a Hex or Dec conversion and the fill character to use.

Synopsis

Declared in <absl/strings/str_cat.h>

enum PadSpec : uint8_t;

Description

A kZeroPad2 value, for example, would produce hexadecimal strings such as "0a","0f" and a 'kSpacePad5' value would produce hexadecimal strings such as " a"," f".

Members

NameDescription
kNoPad No padding.
kZeroPad2 Pad with zeros to a minimum width of 2.
kZeroPad3 Pad with zeros to a minimum width of 3.
kZeroPad4 Pad with zeros to a minimum width of 4.
kZeroPad5 Pad with zeros to a minimum width of 5.
kZeroPad6 Pad with zeros to a minimum width of 6.
kZeroPad7 Pad with zeros to a minimum width of 7.
kZeroPad8 Pad with zeros to a minimum width of 8.
kZeroPad9 Pad with zeros to a minimum width of 9.
kZeroPad10 Pad with zeros to a minimum width of 10.
kZeroPad11 Pad with zeros to a minimum width of 11.
kZeroPad12 Pad with zeros to a minimum width of 12.
kZeroPad13 Pad with zeros to a minimum width of 13.
kZeroPad14 Pad with zeros to a minimum width of 14.
kZeroPad15 Pad with zeros to a minimum width of 15.
kZeroPad16 Pad with zeros to a minimum width of 16.
kZeroPad17 Pad with zeros to a minimum width of 17.
kZeroPad18 Pad with zeros to a minimum width of 18.
kZeroPad19 Pad with zeros to a minimum width of 19.
kZeroPad20 Pad with zeros to a minimum width of 20.
kSpacePad2 Pad with spaces to a minimum width of 2.
kSpacePad3 Pad with spaces to a minimum width of 3.
kSpacePad4 Pad with spaces to a minimum width of 4.
kSpacePad5 Pad with spaces to a minimum width of 5.
kSpacePad6 Pad with spaces to a minimum width of 6.
kSpacePad7 Pad with spaces to a minimum width of 7.
kSpacePad8 Pad with spaces to a minimum width of 8.
kSpacePad9 Pad with spaces to a minimum width of 9.
kSpacePad10 Pad with spaces to a minimum width of 10.
kSpacePad11 Pad with spaces to a minimum width of 11.
kSpacePad12 Pad with spaces to a minimum width of 12.
kSpacePad13 Pad with spaces to a minimum width of 13.
kSpacePad14 Pad with spaces to a minimum width of 14.
kSpacePad15 Pad with spaces to a minimum width of 15.
kSpacePad16 Pad with spaces to a minimum width of 16.
kSpacePad17 Pad with spaces to a minimum width of 17.
kSpacePad18 Pad with spaces to a minimum width of 18.
kSpacePad19 Pad with spaces to a minimum width of 19.
kSpacePad20 Pad with spaces to a minimum width of 20.