includes/org/apache/poi/hpsf/TypeWriter.java
public static int writeToStream(final OutputStream out, final int n)
        throws IOException
    {
        final int l = LittleEndian.INT_SIZE;
        final byte[] buffer = new byte[l];
        LittleEndian.putInt(buffer, 0, n);
        out.write(buffer, 0, l);
        return l;
        
    }
/**
     * <p>Writes a four-byte value to an output stream.</p>
     *
     * @param out The stream to write to.
     * @param n The value to write.
     * @exception IOException if an I/O error occurs
     * @return The number of bytes written to the output stream. 
     */
Writes a four-byte value to an output stream.

@param out The stream to write to.
@param n The value to write.
@exception IOException if an I/O error occurs
@return The number of bytes written to the output stream.
Writes a four - byte value to an output stream . @param out The stream to write to . @param n The value to write . @exception IOException if an I / O error occurs @return The number of bytes written to the output stream .
public static int writeToStream(final OutputStream out, final int n)
        throws IOException
    {
        final int l = LittleEndian.INT_SIZE;
        final byte[] buffer = new byte[l];
        LittleEndian.putInt(buffer, 0, n);
        out.write(buffer, 0, l);
        return l;
    }
public static int writeToStream ( final OutputStream out , final int n ) throws IOException { final int l = LittleEndian . INT_SIZE ; final byte [ ] buffer = new byte [ l ] ; LittleEndian . putInt ( buffer , 0 , n ) ; out . write ( buffer , 0 , l ) ; return l ; }
<p>Writes a four-byte value to an output stream.</p>
<p > Writes a four - byte value to an output stream . < / p >