Line | |
---|
1 | /**
|
---|
2 | * @file cf_codec.h
|
---|
3 | * @author myusgun <myusgun@gmail.com>
|
---|
4 | *
|
---|
5 | * @remark 데이터 변환
|
---|
6 | *
|
---|
7 | * @example codec.c
|
---|
8 | */
|
---|
9 | #include "cf_base.h"
|
---|
10 |
|
---|
11 | #include <stddef.h>
|
---|
12 |
|
---|
13 | #ifndef __CF_CODEC_H__
|
---|
14 | #define __CF_CODEC_H__
|
---|
15 |
|
---|
16 | #ifdef __cplusplus
|
---|
17 | extern "C" {
|
---|
18 | #endif
|
---|
19 |
|
---|
20 | CF_EXPORT int
|
---|
21 | CF_Codec_BinaryToHex (const unsigned char * bin,
|
---|
22 | const size_t len,
|
---|
23 | char * hex);
|
---|
24 |
|
---|
25 | CF_EXPORT int
|
---|
26 | CF_Codec_HexToBinary (const char * hex,
|
---|
27 | unsigned char * bin,
|
---|
28 | size_t * len);
|
---|
29 |
|
---|
30 | #ifdef __cplusplus
|
---|
31 | }
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | #endif // #ifndef __CF_CODEC_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.