$search
#include <cstdlib>#include <cstring>#include <sys/time.h>#include <time.h>#include <errno.h>#include <iomanip>#include <ostream>#include <sstream>#include <cassert>#include <limits>#include <stdint.h>#include "utils.h"
Go to the source code of this file.
Namespaces | |
| namespace | Aseba |
Functions | |
| static uint16 | Aseba::crc_xmodem_update (uint16 crc, const uint8 *data, size_t len) |
| static uint16 | Aseba::crc_xmodem_update (uint16 crc, uint8 data) |
| uint16 | Aseba::crcXModem (const uint16 oldCrc, const uint16 v) |
| Update the XModem CRC (x^16 + x^12 + x^5 + 1 (0x1021)) with a uint16 value. | |
| uint16 | Aseba::crcXModem (const uint16 oldCrc, const std::wstring &s) |
| Update the XModem CRC (x^16 + x^12 + x^5 + 1 (0x1021)) with a wstring. | |
| void | Aseba::dumpTime (std::ostream &stream, bool raw=false) |
| Dump the current time to a stream. | |
| std::wstring | Aseba::UTF8ToWString (const std::string &s) |
| Transform a UTF8 string into a wstring, this function is thread-safe. | |
| std::string | Aseba::WStringToUTF8 (const std::wstring &s) |
| Transform a wstring into an UTF8 string, this function is thread-safe. | |