bitz-server  2.0.0
Public Member Functions | List of all members
fmt::FormatInt Class Reference

#include <format.h>

Public Member Functions

 FormatInt (int value)
 
 FormatInt (long value)
 
 FormatInt (LongLong value)
 
 FormatInt (unsigned value)
 
 FormatInt (unsigned long value)
 
 FormatInt (ULongLong value)
 
std::size_t size () const
 
const char * data () const
 
const char * c_str () const
 
std::string str () const
 

Detailed Description

Fast integer formatter.

Member Function Documentation

◆ c_str()

const char* fmt::FormatInt::c_str ( ) const
inline

Returns a pointer to the output buffer content with terminating null character appended.

◆ data()

const char* fmt::FormatInt::data ( ) const
inline

Returns a pointer to the output buffer content. No terminating null character is appended.

◆ size()

std::size_t fmt::FormatInt::size ( ) const
inline

Returns the number of characters written to the output buffer.

◆ str()

std::string fmt::FormatInt::str ( ) const
inline

Returns the content of the output buffer as an std::string.