2017-11-23 11:20:20 -08:00
|
|
|
#ifndef ZC_UTIL_H_
|
|
|
|
#define ZC_UTIL_H_
|
2016-05-12 12:19:13 -07:00
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
std::vector<unsigned char> convertIntToVectorLE(const uint64_t val_int);
|
2016-06-28 09:08:50 -07:00
|
|
|
std::vector<bool> convertBytesVectorToVector(const std::vector<unsigned char>& bytes);
|
|
|
|
uint64_t convertVectorToInt(const std::vector<bool>& v);
|
2016-05-12 12:19:13 -07:00
|
|
|
|
2017-11-23 11:20:20 -08:00
|
|
|
#endif // ZC_UTIL_H_
|