base64辅助类

This commit is contained in:
yhh
2020-07-17 15:40:28 +08:00
parent c96e8b3a04
commit dccd4e21b6
7 changed files with 390 additions and 2 deletions

View File

@@ -1082,6 +1082,16 @@ declare class ArrayUtils {
static equals(ary1: number[], ary2: number[]): Boolean;
static insert(ary: any[], index: number, value: any): any;
}
declare class Base64Utils {
private static _keyNum;
private static _keyStr;
private static _keyAll;
static encode: (input: any) => string;
private static _utf8_encode;
static decode(input: any, isNotStr?: boolean): string;
private static _utf8_decode;
private static getConfKey;
}
declare class ContentManager {
protected loadedAssets: Map<string, any>;
loadRes(name: string, local?: boolean): Promise<any>;