MCPcopy Create free account
hub / github.com/diyhi/bbs / decodeBase64URL

Method decodeBase64URL

src/main/java/cms/utils/Base64.java:31–36  ·  view source on GitHub ↗

安全的Base64解码 @param data 数据 @return

(String data)

Source from the content-addressed store, hash-verified

29 * @return
30 */
31 public static String decodeBase64URL(String data){
32 if(data != null && !data.isEmpty()){
33 return new String(org.apache.commons.codec.binary.Base64.decodeBase64(data),StandardCharsets.UTF_8);
34 }
35 return "";
36 }
37
38
39

Callers 4

loginMethod · 0.95
fileDownloadMethod · 0.95
registerMethod · 0.80

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected