org.apache.commons.codec.binary.Base32InputStream Java Examples

The following examples show how to use org.apache.commons.codec.binary.Base32InputStream. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EncodeContent.java    From localization_nifi with Apache License 2.0 4 votes vote down vote up
@Override
public void process(InputStream in, OutputStream out) throws IOException {
    try (Base32InputStream bis = new Base32InputStream(new ValidatingBase32InputStream(in))) {
        StreamUtils.copy(bis, out);
    }
}
 
Example #2
Source File: EncodeContent.java    From nifi with Apache License 2.0 4 votes vote down vote up
@Override
public void process(InputStream in, OutputStream out) throws IOException {
    try (Base32InputStream bis = new Base32InputStream(new ValidatingBase32InputStream(in))) {
        StreamUtils.copy(bis, out);
    }
}