|
10Duke Enterprise C++ SDK
|
Utilities.
Namespaces | |
| namespace | random |
| Random number / string generation. | |
| namespace | string |
| String-utilities. | |
Classes | |
| class | Base64Decoder |
| Base64-decoder. More... | |
| class | Base64Encoder |
| Base64-encoder. More... | |
| class | BinaryData |
| A holder of binary data. More... | |
| class | BinaryView |
| A read-only view of binary data. More... | |
| class | DataSpan |
| A span of binary data. More... | |
| class | DefaultBase64Decoder |
| Default tenduke::utl::Base64Decoder implementation. More... | |
| class | DefaultBase64Encoder |
| Default tenduke::utl::Base64Encoder implementation. More... | |
| class | FixedSizeBinaryData |
| Utility class for fixed size binary data. More... | |
| class | MutableDataSpan |
| Extends DataSpan with mutable access to the underlying data. More... | |
| class | PCTEncoder |
| Encodes data using PCT-encoding. More... | |
| class | SimpleBuffer |
| Simple extensible binary buffer. More... | |
Functions | |
| BinaryView | empty_view () |
| Creates an empty tenduke::utl::BinaryView. | |
| BinaryView | make_view (const unsigned char *data, const std::size_t size) |
| A helper function to create a tenduke::utl::BinaryView from a const pointer. | |
| template<std::size_t N> | |
| BinaryView | make_view (unsigned char(&arr)[N]) |
| A helper function to create a tenduke::utl::BinaryView from fixed size arrays (deduces size automatically!). | |
| BinaryView | make_view (const char *value) |
| A helper function to create a tenduke::utl::BinaryView from const char *. | |
| BinaryView | make_view (const std::string &value) |
| A helper function to create a tenduke::utl::BinaryView from std:.string. | |
| std::string | toLowerCaseASCII (const std::string &string) |
| Returns a copy of provided ASCII-string converted to lower-case. | |
|
inline |
Creates an empty tenduke::utl::BinaryView.
|
inline |
A helper function to create a tenduke::utl::BinaryView from const char *.
| value | the string |
|
inline |
A helper function to create a tenduke::utl::BinaryView from std:.string.
| value | the string |
|
inline |
A helper function to create a tenduke::utl::BinaryView from a const pointer.
| data | the binary data |
| size | the size of the binary data in bytes |
|
inline |
A helper function to create a tenduke::utl::BinaryView from fixed size arrays (deduces size automatically!).
| arr | the array |
| std::string tenduke::utl::toLowerCaseASCII | ( | const std::string & | string | ) |
Returns a copy of provided ASCII-string converted to lower-case.
Does not modify the original string.
| string | - |