cesium-native 0.43.0
Loading...
Searching...
No Matches
CesiumUtility::StringHelpers Class Reference

Helper functions for working with strings. More...

#include <CesiumUtility/StringHelpers.h>

Static Public Member Functions

static std::string toStringUtf8 (const std::u8string &s)
 Converts a u8string to a string without changing its encoding. The output string is encoded in UTF-8, just like the input.
 

Detailed Description

Helper functions for working with strings.

Definition at line 10 of file StringHelpers.h.

Member Function Documentation

◆ toStringUtf8()

static std::string CesiumUtility::StringHelpers::toStringUtf8 ( const std::u8string & s)
static

Converts a u8string to a string without changing its encoding. The output string is encoded in UTF-8, just like the input.

Parameters
sThe std::u8string.
Returns
The equivalent std::string.

The documentation for this class was generated from the following file: