Changeset 128 in libcf for trunk/include/cf_codec.h


Ignore:
Timestamp:
06/22/13 12:03:53 (11 years ago)
Author:
cheese
Message:

#1 add bitwise util from ARIA of chevalier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cf_codec.h

    r119 r128  
    11/**
    2  * \file    cf_codec.h
    3  * \author  myusgun <myusgun@gmail.com>
     2 * \file cf_codec.h
     3 *
     4 * \author myusgun <myusgun@gmail.com>
    45 *
    56 * \brief 데이터 변환
     
    1112
    1213#include "cf_base.h"
     14#include "cf_type.h"
    1315
    1416#include <stddef.h>
     
    1921
    2022CF_EXPORT int
    21 CF_Codec_Hex_Encode         (const unsigned char    * bin,
    22                              const size_t           len,
    23                              char                   * hex);
     23CF_Codec_Hex_Encode         (const cf_byte  * bin,
     24                             const size_t   len,
     25                             char           * hex);
    2426
    2527CF_EXPORT int
    26 CF_Codec_Hex_Decode         (const char     * hex,
    27                              unsigned char  * bin,
    28                              size_t         * len);
     28CF_Codec_Hex_Decode         (const char * hex,
     29                             cf_byte    * bin,
     30                             size_t     * len);
    2931
    3032CF_EXPORT int
    31 CF_Codec_Base64_Encode      (const unsigned char    * bin,
    32                              const size_t           len,
    33                              char                   * base64);
     33CF_Codec_Base64_Encode      (const cf_byte  * bin,
     34                             const size_t   len,
     35                             char           * base64);
    3436
    3537CF_EXPORT int
    36 CF_Codec_Base64_Decode      (const char     * base64,
    37                              unsigned char  * bin,
    38                              size_t         * len);
     38CF_Codec_Base64_Decode      (const char * base64,
     39                             cf_byte    * bin,
     40                             size_t     * len);
    3941
    4042#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.