fmt
Loading...
Searching...
No Matches
fmt::Bytes Struct Referenceexport
module fmt

Public Member Functions

 Bytes (StringView s)

Public Attributes

StringView data

Detailed Description

A view of a byte string, formatted without any encoding conversion.

Use this to write bytes that are not text, or text in an encoding fmt should leave alone.

Example:

fmt::print("{}", fmt::bytes("\xC0\xC1"));

The documentation for this struct was generated from the following file:
  • /home/mccakit/desktop/mccakit-fmt/fmt/src/fmt/iface/format.cppm