"use strict";
/**
 * base64编码帮助模块
 * @date 2022-03
 * @author 何华东
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.getBase64FileSize = void 0;
/**
 * 获取base64编码的文件大小(kb)
 * @param base64String
 * @returns
 */
function getBase64FileSize(base64String) {
    return (4 * Math.ceil((base64String.length / 3)) * 0.5624896334383812) / 1000;
}
exports.getBase64FileSize = getBase64FileSize;
//# sourceMappingURL=Base64Utils.js.map