/guava/guava/src/com/google/common/io/BaseEncoding.java
if ( paddingChar == null) {
if ( paddingChar != null ) {
@Override public void close() throws IOException { if (bitBufferLength > 0) { int charIndex = (bitBuffer << (alphabet.bitsPerChar - bitBufferLength)) & alphabet.mask; out.write(alphabet.encode(charIndex)); writtenChars++; <extra_id_0> while (writtenChars % alphabet.charsPerChunk != 0) { out.write(paddingChar.charValue()); writtenChars++; } } }