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