Lines Matching defs:uint8_t
41 uint8_t GetLogLevel();
42 extern uint8_t g_logLevel;
43 void SetLogLevel(const uint8_t logLevel);
44 uint8_t GetLogLevelByEnv();
45 void PrintLogEx(const char *functionName, int line, uint8_t logLevel, const char *msg, ...);
50 void ReallocBuf(uint8_t **origBuf, int *nOrigSize, size_t sizeWanted);
52 int SendToStreamEx(uv_stream_t *handleStream, const uint8_t *buf, const int bufLen, uv_stream_t *handleSend,
54 int SendToStream(uv_stream_t *handleStream, const uint8_t *buf, const int bufLen);
55 int SendToPollFd(int fd, const uint8_t *buf, const int bufLen);
86 int WriteBinFile(const char *pathName, const uint8_t *buf, const size_t bufLen, bool newFile = false);
104 int Base64EncodeBuf(const uint8_t *input, const int length, uint8_t *bufOut);
105 vector<uint8_t> Base64Encode(const uint8_t *input, const int length);
106 int Base64DecodeBuf(const uint8_t *input, const int length, uint8_t *bufOut);
107 string Base64Decode(const uint8_t *input, const int length);
110 string Convert2HexStr(uint8_t arr[], int length);
136 bool DelayDo(uv_loop_t *loop, const int delayMs, const uint8_t flag, string msg, void *data,
137 std::function<void(const uint8_t, string &, const void *)> cb);
139 std::function<void(const uint8_t, string &, const void *)> cb)
143 inline bool DoNextLoop(uv_loop_t *loop, void *data, std::function<void(const uint8_t, string &, const void *)> cb)
179 uint8_t CalcCheckSum(const uint8_t *data, int len);