Click to See Complete Forum and Search --> : how to convert unsigned char [] to byte Array


kornfr
May 9th, 2003, 09:30 AM
Hello,

it is possible a converting a unsigned char into byte array ?


i ' d like converting a unsigned char [256] into byte array. (it s for converting Jni :mad: )




pleaze help me


Thx

kornFR;)

kuphryn
May 9th, 2003, 09:58 AM
One solution is reinterpret_cast.

Kuphryn

kenrus
May 9th, 2003, 02:02 PM
kornfr,

Did kuphryn answer your question?

If not, please explain your question in more detail. I am not sure what you mean by a byte array.

Sincerely,
Kendall Russell
Memphis TN

mwilliamson
May 9th, 2003, 03:25 PM
byte is defined as unsigned char, so unsigned char [256] is already a byte array.