includes/org/apache/poi/hpsf/Util.java
public static char[] pad4(final char[] ca)
    {
        final int PAD = 4;
        final char[] result;
        int l = ca.length % PAD;
        if (l == 0)
            result = ca;
        else
        {
            l = PAD - l;
            result = new char[ca.length + l];
            System.arraycopy(ca, 0, result, 0, ca.length);
        }
        return result;
    }
/**
     * <p>Pads a character array with 0x0000 characters so that its length is a
     * multiple of 4.</p>
     *
     * @param ca The character array to pad.
     * @return The padded character array.
     */
Pads a character array with 0x0000 characters so that its length is a
multiple of 4.

@param ca The character array to pad.
@return The padded character array.
Pads a character array with 0x0000 characters so that its length is a multiple of 4 . @param ca The character array to pad . @return The padded character array .
public static char[] pad4(final char[] ca)
    {
        final int PAD = 4;
        final char[] result;
        int l = ca.length % PAD;
        if (l == 0)
            result = ca;
        else
        {
            l = PAD - l;
            result = new char[ca.length + l];
            System.arraycopy(ca, 0, result, 0, ca.length);
        }
        return result;
    }
public static char [ ] pad4 ( final char [ ] ca ) { final int PAD = 4 ; final char [ ] result ; int l = ca . length % PAD ; if ( l == 0 ) result = ca ; else { l = PAD - l ; result = new char [ ca . length + l ] ; System . arraycopy ( ca , 0 , result , 0 , ca . length ) ; } return result ; }
<p>Pads a character array with 0x0000 characters so that its length is a
 multiple of 4.</p>
<p > Pads a character array with 0x0000 characters so that its length is a multiple of 4 . < / p >