Base64 decodes a given string. @param toDecode A base64 encoded string. @return An array of bytes.
(String toDecode)
| 353 | * @return An array of bytes. |
| 354 | */ |
| 355 | public static byte[] base64Decode(String toDecode) { |
| 356 | return Base64.getDecoder().decode(toDecode); |
| 357 | } |
| 358 | |
| 359 | /** |
| 360 | * Safely JSON decodes a given string. |
no outgoing calls
no test coverage detected