final static public void spacePad(StringBuilder sbuf, int length) {
        while (length >= 32) {
            sbuf.append(SPACES[5]);
            length -= 32;
        }

        for (int i = 4; i >= 0; i--) {
            if ((length & (1 << i)) != 0) {
                sbuf.append(SPACES[i]);
            }
        }
    }
final static public void spacePad ( StringBuilder sbuf , int length ) { while ( length >= 32 ) { sbuf . append ( SPACES [ 5 ] ) ; length -= 32 ; } for ( int i = 4 ; i >= 0 ; i -- ) { if ( ( length & ( 1 << i ) ) != 0 ) { sbuf . append ( SPACES [ i ] ) ; } } }
Fast space padding method.

@param sbuf the buffer to pad
@param length the target size of the buffer after padding