Matthew Toseland wrote:
> On Saturday 19 September 2009 03:46:27 Ximin Luo wrote:
>> http://github.com/freenet/fred-staging/commit/dea2134ba56462afb0806c5e126306bd0441c5bb
>>
>> Why is this commit necessary? The Java API documentation for
>> BigInteger.toByteArray() says "This representation is compatible with the
>> (byte[]) constructor."
> 
> I thought you created some random arrays?

Yeah, I use the random array to create a BigInteger, but then I create another
array from it with toByteArray(), and that's what's passed into the 
constructors.

But nvmd, this is trivial, they are all positive integers anyway.

X

> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to