public boolean readBoolean(DataInput in) throws IOException {
        return (Boolean) readObject(in);
    }
Reads an array of long values. This method will return <tt>null</tt> if
the array written to the stream was <tt>null</tt>.

@param in the input stream.
@return an array of long values.
@throws IOException if an error occurs.
xmppserver/src/main/java/org/jivesoftware/util/cache/DefaultExternalizableUtil.java