◆ Transform()
| FiftyoneDegrees::DeviceDetection::Transform::Transform | ( | size_t | capacity = 1024
| ) |
Due to the default param value Transform() ctor is also available in C++ and managed language s.a.
C#
- Parameters
-
- capacity - the size of the working memory buffer The buffer size will automatically double if there is not enough memory to perform the conversion and the conversion will repeat with a bigger buffer.
Member Function Documentation
◆ fromBase64GHEV()
Headers FiftyoneDegrees::DeviceDetection::Transform::fromBase64GHEV ( const std::string & base64 ) Convert from the base64 encoded getHighEntropyValues() results JSON string into HTTP header key-value pairs, see help section to the
fiftyoneDegreesTransformGhevFromBase64routine defined in transform.h.- Parameters
-
- base64 - base64-encoded string representation of the GHEV JSON
- Returns
- the converted HTTP header map
◆ fromJsonGHEV()
Headers FiftyoneDegrees::DeviceDetection::Transform::fromJsonGHEV ( const std::string & json ) Convert from getHighEntropyValues() results JSON string into HTTP header key-value pairs, see help section to the
fiftyoneDegreesTransformGhevFromJsonroutine defined in transform.h.- Parameters
-
- json - string representation of the GHEV JSON
- Returns
- the converted HTTP header map
◆ fromSUA()
Headers FiftyoneDegrees::DeviceDetection::Transform::fromSUA ( const std::string & json ) Convert from the oRTB 2.6 Structured User-Agent JSON string into HTTP header key-value pairs, see help section to the
fiftyoneDegreesTransformSUAroutine defined in transform.h.- Parameters
-
- json - string representation of the oRTB SUA JSON
- Returns
- the converted HTTP header map
The documentation for this class was generated from the following file:- /home/runner/work/device-detection-cxx/device-detection-cxx/common/device-detection-cxx/src/Transform.hpp
