drm_base64.h

来自「SAMSUNG 5009的源代码」· C头文件 代码 · 共 39 行

H
39
字号
// $Header: /Mux_Demux_SDK/libDrmCommon/src/base64.h 3     8/15/03 4:13p Wiley $
// Copyright (c) 2003 DivXNetworks, Inc. http://www.divxnetworks.com
// All rights reserved.
//
// This software is the confidential and proprietary information of DivxNetworks
// Inc. ("Confidential Information").  You shall not disclose such Confidential
// Information and shall use it only in accordance with the terms of the license
// agreement you entered into with DivXNetworks, Inc.

#ifndef BASE_64_H
#define BASE_64_H

//
// Base-64 encode & decode
// 
#ifdef __cplusplus
extern "C" {
#endif

BYTE1 *base64Encode(BYTE1 *buffer, 
				   BYTE4 length, 
				   BYTE4 *outlength);

BYTE1 *base64Decode(BYTE1 *str,
				   BYTE4 length,
				   BYTE4 *outlength);

//
// Base-32 encode & decode
// 
void base32Encode40Bits(unsigned char *input, char *output);
void base32Decode40Bits(BYTE1 *input, BYTE1 *output);

#ifdef __cplusplus
};
#endif

#endif // BASE_64_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?