#include <Tools.hpp>
◆ Tools()
◆ ~Tools()
◆ Base64DecodedStringToBytes()
std::vector< uint8_t > tson::Tools::Base64DecodedStringToBytes |
( |
std::string_view |
str | ) |
|
|
inlinestatic |
When you have decoded a Base64 string, you'll get a string representing bytes. This function turns them into actual bytes.
- Parameters
-
- Returns
◆ BytesToUnsignedInts()
std::vector< uint32_t > tson::Tools::BytesToUnsignedInts |
( |
const std::vector< uint8_t > & |
bytes | ) |
|
|
inlinestatic |
Converts bytes into unsigned int values. The bytes are converted in the Little Endian byte order to fit Tiled's specs.
- Parameters
-
- Returns
- Bytes converted to unsigned ints
The documentation for this class was generated from the following file:
- /home/robin/git/c++/tileson/include/common/Tools.hpp