Home | History | Annotate | Download | only in util

Lines Matching refs:PoloUtil

16 #include <polo/util/poloutil.h>
23 std::string result = PoloUtil::BytesToHexString(bytes, 4);
29 std::string result = PoloUtil::BytesToHexString(bytes, 4);
35 size_t length = PoloUtil::HexStringToBytes(std::string("AABBCCDD"), bytes);
46 PoloUtil::IntToBigEndianBytes(0xAABBCCDD, bytes);
56 PoloUtil::IntToBigEndianBytes(0x00AABB00, bytes);
66 const uint32_t value = PoloUtil::BigEndianBytesToInt(bytes);
72 const uint32_t value = PoloUtil::BigEndianBytesToInt(bytes);
77 uint8_t* random1 = PoloUtil::GenerateRandomBytes(16);
79 const std::string value1 = PoloUtil::BytesToHexString(random1, 16);
82 uint8_t* random2 = PoloUtil::GenerateRandomBytes(16);
84 const std::string value2 = PoloUtil::BytesToHexString(random2, 16);