MCPcopy Create free account
hub / github.com/0opslab/opslabJutil / decode

Method decode

src/main/java/com/opslab/util/encrypt/Base64Ext.java:108–110  ·  view source on GitHub ↗

Decode the Base64-encoded data in input and return the data in a new byte array. The padding '=' characters at the end are considered optional, but if any are present, there must be the correct number of them. @param str the input String to decode, which is converted to bytes

(String str, int flags)

Source from the content-addressed store, hash-verified

106 * incorrect padding
107 */
108 public static byte[] decode(String str, int flags) {
109 return decode(str.getBytes(), flags);
110 }
111
112 /**
113 * Decode the Base64-encoded data in input and return the data in

Callers 3

decryptBASE64Method · 0.95
AESDncodeMethod · 0.95
decryptBASE64Method · 0.95

Calls 1

processMethod · 0.95

Tested by

no test coverage detected