Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: MTSText.h
- Revision:
- 12:54f9cac9d690
- Parent:
- 10:27dafba9fe19
diff -r d8464345e1f1 -r 54f9cac9d690 MTSText.h
--- a/MTSText.h Thu Jan 07 12:07:28 2016 -0600
+++ b/MTSText.h Thu Mar 10 14:25:17 2016 -0600
@@ -55,9 +55,9 @@
static std::string float2String(double val, int precision);
- static std::string bin2hexString(const std::vector<uint8_t>& data, const char* delim = "", bool leadingZeros = false);
+ static std::string bin2hexString(const std::vector<uint8_t>& data, const char* delim = "", bool leadingZeros = false, bool bytePadding = true);
- static std::string bin2hexString(const uint8_t* data, const uint32_t len, const char* delim = "", bool leadingZeros = false);
+ static std::string bin2hexString(const uint8_t* data, const uint32_t len, const char* delim = "", bool leadingZeros = false, bool bytePadding = true);
static std::string bin2base64(const std::vector<uint8_t>& data);