ah.
What is the correct algorithm? just take the first 16 bytes from the input
buffer?
-James
On Nov 20, 2010, at 1:38 AM, Thomas Mueller wrote:
> Hi,
>
> It's a bug, I will fix it. However, it doesn't actually fail in the
> normal case, because of this:
>
> if (binary.length < 32) {
> return get(StringUtils.convertBytesToString(binary));
> }
>
> So byte arrays of length 16 are first converted to a string, and then
> to a UUID (which works).
>
> The only case it fails is if you try to convert a byte array of length
> 32. It's supposed to take the first 16 bytes, which it doesn't.
>
> Regards,
> Thomas
>
> --
> You received this message because you are subscribed to the Google Groups "H2
> Database" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.