FastLED 3.9.15
Loading...
Searching...
No Matches
charconv.cpp.hpp File Reference
#include "fl/stl/charconv.h"
#include "fl/stl/string.h"
#include "fl/stl/stdio.h"
+ Include dependency graph for charconv.cpp.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::detail
 Compile-time linker keep-alive hook for a single fl::Bus.
 

Functions

void fl::ftoa (float value, char *buffer, int precision=2) FL_NOEXCEPT
 Convert floating point number to string buffer.
 
fl::string fl::detail::hex (u64 value, HexIntWidth width, bool is_negative, bool uppercase, bool pad_to_width) FL_NOEXCEPT
 Internal hex conversion function (implementation in charconv.cpp)
 
int fl::itoa (i32 value, char *buffer, int radix) FL_NOEXCEPT
 Convert signed 32-bit integer to string buffer in given radix.
 
int fl::itoa64 (i64 value, char *buffer, int radix) FL_NOEXCEPT
 Convert signed 64-bit integer to string buffer in given radix.
 
float fl::parseFloat (const char *str, fl::size len) FL_NOEXCEPT
 Parse a floating point number from a character buffer.
 
int fl::parseInt (const char *str) FL_NOEXCEPT
 Parse an integer from a null-terminated string.
 
int fl::parseInt (const char *str, fl::size len) FL_NOEXCEPT
 Parse an integer from a character buffer.
 
int fl::utoa32 (u32 value, char *buffer, int radix) FL_NOEXCEPT
 Convert unsigned 32-bit integer to string buffer in given radix.
 
int fl::utoa64 (u64 value, char *buffer, int radix) FL_NOEXCEPT
 Convert unsigned 64-bit integer to string buffer in given radix.