Hello Dominik,

thank you very much for your explanations!

I'll replace the crc code by the following - we have commons codec anyway as a 
dependency, j.u.z.CRC32 can be used likewise:

static private long calculateCRC32(byte[] buf, int off, int len) {
    PureJavaCrc32 crc = new PureJavaCrc32(); // set initial crc value to 0 
crc.update( new byte[] {-1,-1,-1,-1}, 0, 4); crc.update(buf, off, len); return 
~crc.getValue() & 0xFFFFFFFFL; }


I haven't finished with the rest yet, but the next release will anyway take a 
while ...

Andi.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to