📄 drm_base64.h
字号:
// $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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -