includes/org/apache/poi/hpsf/TypeWriter.java
public static int writeUIntToStream(final OutputStream out, final long n)
        throws IOException
    {
        long high = n & 0xFFFFFFFF00000000L;
        if (high != 0 && high != 0xFFFFFFFF00000000L)
            throw new IllegalPropertySetDataException
                ("Value " + n + " cannot be represented by 4 bytes.");
        return writeToStream(out, (int) n);
    }
/**
     * <p>Writes an unsigned four-byte value to an output stream.</p>
     *
     * @param out The stream to write to.
     * @param n The value to write.
     * @return The number of bytes that have been written to the output stream.
     * @exception IOException if an I/O error occurs
     */
Writes an unsigned four-byte value to an output stream.

@param out The stream to write to.
@param n The value to write.
@return The number of bytes that have been written to the output stream.
@exception IOException if an I/O error occurs
Writes an unsigned four - byte value to an output stream . @param out The stream to write to . @param n The value to write . @return The number of bytes that have been written to the output stream . @exception IOException if an I / O error occurs
public static int writeUIntToStream(final OutputStream out, final long n)
        throws IOException
    {
        long high = n & 0xFFFFFFFF00000000L;
        if (high != 0 && high != 0xFFFFFFFF00000000L)
            throw new IllegalPropertySetDataException
                ("Value " + n + " cannot be represented by 4 bytes.");
        return writeToStream(out, (int) n);
    }
public static int writeUIntToStream ( final OutputStream out , final long n ) throws IOException { long high = n & 0xFFFFFFFF00000000L ; if ( high != 0 && high != 0xFFFFFFFF00000000L ) throw new IllegalPropertySetDataException ( "Value " + n + " cannot be represented by 4 bytes." ) ; return writeToStream ( out , ( int ) n ) ; }
<p>Writes an unsigned four-byte value to an output stream.</p>
<p > Writes an unsigned four - byte value to an output stream . < / p >