public String decoder(String endcoderStr) throws IOException {
return Base64.getEncoder().encodeToString(endcoderStr.getBytes("utf-8")).replaceAll("\\+","-").replaceAll("/", "_").replaceAll("=", Strings.EMPTY);
}
String转Base64
发布时间 2023-12-19 10:20:38作者: 梅丹隆