update
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* @version:
|
||||
* @Date: 2025-02-25 11:02:37
|
||||
* @LastEditors: why
|
||||
* @LastEditTime: 2025-02-27 11:59:30
|
||||
* @LastEditTime: 2025-02-27 14:13:01
|
||||
*/
|
||||
#include <iostream>
|
||||
#include <chrono>
|
||||
@@ -31,7 +31,7 @@ UpdateRecord::UpdateRecord(void){
|
||||
handpara = nullptr;
|
||||
initpara = nullptr;
|
||||
}
|
||||
void hexstr_to_str(void *dst, const void *src, int src_len)
|
||||
static void hexstr_to_str(void *dst, const void *src, int src_len)
|
||||
{
|
||||
int i;
|
||||
BYTE low, high, ch;
|
||||
@@ -62,7 +62,7 @@ void hexstr_to_str(void *dst, const void *src, int src_len)
|
||||
}
|
||||
}
|
||||
|
||||
void str_to_hexstr(void *dst, const void *src, int src_len)
|
||||
static void str_to_hexstr(void *dst, const void *src, int src_len)
|
||||
{
|
||||
int i;
|
||||
BYTE low, high, ch;
|
||||
@@ -79,7 +79,7 @@ void str_to_hexstr(void *dst, const void *src, int src_len)
|
||||
*dst_ptr++ = str[low];
|
||||
}
|
||||
}
|
||||
int encode_blob(void *dst, int max_len, const void *src, int src_len)
|
||||
static int encode_blob(void *dst, int max_len, const void *src, int src_len)
|
||||
{
|
||||
int dst_len = 0;
|
||||
|
||||
@@ -93,7 +93,7 @@ int encode_blob(void *dst, int max_len, const void *src, int src_len)
|
||||
return dst_len;
|
||||
}
|
||||
|
||||
int decode_blob(void *dst, int max_len, const void *src)
|
||||
static int decode_blob(void *dst, int max_len, const void *src)
|
||||
{
|
||||
// may be changed to base64 decode
|
||||
int src_len, dst_len = 0;
|
||||
|
||||
Reference in New Issue
Block a user