杰林码-检错算法 libWJLErrRecoverCoderV1.0.0

杰林码-检错算法 libWJLErrRecoverCoderV1.0.0,目前仅支持Windows X86 静态库。
SDK库下载地址: libWJLErrRecoverCoderV1.0.0.zip

libWJLErrRecoveryCoder.h

#ifndef _LIBWJLERRCHECKCODER_H_
#define _LIBWJLERRCHECKCODER_H_

#ifdef	__cplusplus
extern "C" {
#endif

/****************************************编码(内存->内存)************************************
*输入参数ucInBuffer:原串缓冲首字节地址														*
*输入参数unInbufferLen:原串缓冲字节长度														*
*输出参数unOutbufferLen:编码后的数据缓冲字节长度											*
*返回值:非NULL:编码后的数据缓冲首字节地址,NULL:编码失败										*
********************************************************************************************/
unsigned char *WJLEncode_ErrCheck_Buff(unsigned char *ucInBuffer,const unsigned int *unInbufferLen,unsigned int *unOutbufferLen);

/****************************************解码(内存->内存)************************************
*输入参数ucInBuffer:编码串缓冲首字节地址													*
*输入参数unInbufferLen:编码串缓冲字节长度													*
*返回值:0x00:无错,0x01:发现错误																*
********************************************************************************************/
unsigned char WJLDecode_ErrCheck_Buff(unsigned char *ucInBuffer,const unsigned int *unInbufferLen);

#ifdef	__cplusplus
}

#endif

#endif

发布了27 篇原创文章 · 获赞 38 · 访问量 7552

猜你喜欢

转载自blog.csdn.net/wjlxueshu/article/details/105427059
今日推荐