Method | Description | |
---|---|---|
GetBase64String ( Stream stream ) : string |
获取Stream的Base64字符串
|
|
GetBase64StringAsync ( Stream stream ) : Task |
获取Stream的Base64字符串
|
|
GetStreamFromBase64String ( string base64String, string savePath ) : Stream |
将base64String反序列化到流,或保存成文件
|
|
GetStreamFromBase64StringAsync ( string base64String, string savePath ) : Task |
将base64String反序列化到流,或保存成文件
|
|
SaveFileFromStream ( |
将memoryStream保存到文件
|
|
SaveFileFromStreamAsync ( |
将memoryStream保存到文件
|
public static GetBase64String ( Stream stream ) : string | ||
stream | Stream | |
return | string |
public static GetBase64StringAsync ( Stream stream ) : Task |
||
stream | Stream | |
return | Task |
public static GetStreamFromBase64String ( string base64String, string savePath ) : Stream | ||
base64String | string | |
savePath | string | 如果为null则不保存 |
return | Stream |
public static GetStreamFromBase64StringAsync ( string base64String, string savePath ) : Task |
||
base64String | string | |
savePath | string | 如果为null则不保存 |
return | Task |
public static SaveFileFromStream ( |
||
memoryStream | ||
savePath | string | |
return | void |
public static SaveFileFromStreamAsync ( |
||
memoryStream | ||
savePath | string | |
return | System.Threading.Tasks.Task |