Since JDK8, mature java.util.Base64 APIs have been added.
The only methods to stream process InputStream(s) and OutputStream(s) are, respectively:
How can I encode an InputStream or decode and OuputStream using only Java APIs in an efficient way?
Is there a reason those methods have not been added to Java APIs?
This functionality is present, for example, in net.iharder.base64, but I was migrating to Java APIs in order to remove that dependency.