/guava/android/guava/src/com/google/common/io/BaseEncoding.java
if ( bitsProcessed < alphabet.bytesPerChunk * 8) {
if ( paddingChar != null ) {
int bitsProcessed = 0; while (bitsProcessed < len * 8) { int charIndex = (int) (bitBuffer >>> (bitOffset - bitsProcessed)) & alphabet.mask; target.append(alphabet.encode(charIndex)); bitsProcessed += alphabet.bitsPerChar; } <extra_id_0> while (bitsProcessed < alphabet.bytesPerChunk * 8) { target.append(paddingChar.charValue()); bitsProcessed += alphabet.bitsPerChar; } } }