Thursday, August 30, 2001 07:20 PM
Well, you have a jbyte * and an unsigned char *, so you can simply say
memcpy( minut1, minbyteA, len );
If you're worried about the size of native chars, then you can put in an assertion that blows up when you build on a platform with a different char size, for example:
assert( 1 == sizeof(unsigned char) );
Am I missing a part of the problem?