class FormatSink
Defined at line 838 of file ../../third_party/abseil-cpp/absl/strings/str_format.h
FormatSink
A format sink is a generic abstraction to which conversions may write their
formatted string data. `absl::FormatConvert()` uses this sink to write its
formatted string.
Public Methods
void Append (size_t count, char ch)
FormatSink::Append()
Appends `count` copies of `ch` to the format sink.
Defined at line 843 of file ../../third_party/abseil-cpp/absl/strings/str_format.h
void Append (string_view v)
Overload of FormatSink::Append() for appending the characters of a string
view to a format sink.
Defined at line 847 of file ../../third_party/abseil-cpp/absl/strings/str_format.h
bool PutPaddedString (string_view v, int width, int precision, bool left)
FormatSink::PutPaddedString()
Appends `precision` number of bytes of `v` to the format sink. If this is
less than `width`, spaces will be appended first (if `left` is false), or
after (if `left` is true) to ensure the total amount appended is
at least `width`.
Defined at line 855 of file ../../third_party/abseil-cpp/absl/strings/str_format.h
Friends
class FormatSinkImpl
void FormatSink (absl::Nonnull<FormatSink *> sinkabsl::string_view v)