FastLED 3.9.15
Loading...
Searching...
No Matches
printf.h File Reference
#include "fl/strstream.h"
#include "fl/namespace.h"
#include "fl/type_traits.h"
#include "fl/str.h"
#include "fl/int.h"
#include "fl/io.h"
+ Include dependency graph for printf.h:

Go to the source code of this file.

Classes

struct  fl::printf_detail::FormatSpec
 

Namespaces

namespace  fl
 IMPORTANT!
 
namespace  fl::printf_detail
 

Functions

void fl::printf_detail::format_arg (StrStream &stream, const FormatSpec &spec, const char *arg)
 
template<fl::size N>
void fl::printf_detail::format_arg (StrStream &stream, const FormatSpec &spec, const char(&arg)[N])
 
template<typename T>
void fl::printf_detail::format_arg (StrStream &stream, const FormatSpec &spec, const T &arg)
 
fl::string fl::printf_detail::format_float (float value, int precision)
 
void fl::printf_detail::format_impl (StrStream &stream, const char *format)
 
template<typename T, typename... Args>
void fl::printf_detail::format_impl (StrStream &stream, const char *format, const T &first, const Args &... rest)
 
FormatSpec fl::printf_detail::parse_format_spec (const char *&format)
 
template<typename... Args>
void fl::printf (const char *format, const Args &... args)
 Printf-like formatting function that prints directly to the platform output.
 
template<typename... Args>
int fl::snprintf (char *buffer, fl::size size, const char *format, const Args &... args)
 Snprintf-like formatting function that writes to a buffer.
 
template<fl::size N, typename... Args>
int fl::sprintf (char(&buffer)[N], const char *format, const Args &... args)
 Sprintf-like formatting function that writes to a buffer.
 
template<typename T>
fl::enable_if< fl::is_integral< T >::value, fl::string >::type fl::printf_detail::to_hex (T value, bool uppercase)
 
template<typename T>
fl::enable_if<!fl::is_integral< T >::value, fl::string >::type fl::printf_detail::to_hex (T, bool)