On Mon, 1 Feb 1999, Urban Widmark wrote:

> You could let the JNI part of your program try to detect endianness:
>       char tmp[2];
>       short *s = (short *) tmp;
>       tmp[0] = 0xaa;
>       tmp[1] = 0xbb;
>       if(s == 0xbbaa)
>               ;       /* little, x86 etc */
>       else
>               ;

        I know I can do this...

        But I would like to keep the JNI part as mini as possible...
        Since.. each platform need specific dynamic library...

        so... I would like like to check it out using JAVA!

===================================================================
今天到老我像那跌不到  我想做    Leung Yau Wai
做我命運符號  用我力舖我路途    我係科大電子計算機科學系三年級
只盼我一日會在星夜裡            [EMAIL PROTECTED]
那天我會  含淚說聲  我做到      [EMAIL PROTECTED]

Reply via email to