AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Binary codec utilities. More...
Namespaces | |
test | |
Test cases for Binary Codec Utilities. | |
Typedefs | |
typedef unsigned char | Byte |
Byte data type. More... | |
typedef std::vector< Byte > | Bytes |
Byte data block. More... | |
Functions | |
bool | encodeBase64 (const Bytes &binary, std::string &base64String) noexcept |
Encodes binary data into string using Base64. More... | |
bool | decodeBase64 (const std::string &base64String, Bytes &binary) noexcept |
Decodes binary data from string using Base64. More... | |
bool | encodeHex (const Bytes &binary, std::string &hexString) noexcept |
bool | decodeHex (const std::string &hexString, Bytes &binary) noexcept |
Decodes binary data from string using hex. More... | |
static char | mapValueToChar (uint32_t value) noexcept |
Maps binary value into character. More... | |
Binary codec utilities.
|
staticnoexcept |
Maps binary value into character.
Maps 6-bit binary value into ASCII character for Base64 encoding.
[in] | value | Binary value to map into character. The value must be in range of 0..63 inclusive. |
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0