compressToBase64Url()
function compressToBase64Url(string, format?): Promise<string>;
Defined in: string/compressToBase64Url.ts:4
压缩字符串到 base64 中
Parameters
| Parameter | Type | Default value |
|---|---|---|
string | string | undefined |
format | "deflate" | "deflate-raw" | "gzip" | 'deflate' |
Returns
Promise<string>