⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 base64.h

📁 Zoran V966 DVD 解码 Soc芯片的源程序
💻 H
字号:
// $Header: /I76/I76_Common/I76_Reference/Playcore/Nav_Clips/AviDrm/LibDrmCommon/base64.h 3     2/15/04 7:41p Lotan $
// 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


#include "Config.h"		// Global Configuration - do not remove!
#include "Include\sysdefs.h"

#ifdef AVI_DRM_SUPPORT
#include "Services\Memory\malloc.h" // when using far malloc we should add this include 

#include <stdio.h>

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

char *base64Encode(char *buffer, 
				   unsigned int length, 
				   unsigned int *outlength);

void base64Decode(char *str,
				   unsigned int length,
                  unsigned int *outlength,
                  char* result);

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

#ifdef __cplusplus
};
#endif

#endif // BASE_64_H

#endif // AVI_DRM_SUPPORT

⌨️ 快捷键说明

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