News

are these two equivalent? How do I convert a byte[] to char[] in java? Or better put use a char[] in place of a byte[]. I am using String.toBytes("UTF-8") to convert a string to byte array.
java.lang.Object shell size in bytes: public static final int OBJECT ... public static final int CHAR_FIELD_SIZE = 2; public static final int BYTE_FIELD_SIZE = 1; public static final int BOOLEAN ...
but after doing some java programming and coming back to C/C++ I've noticed there isn't a 'byte' data type. <HR></BLOCKQUOTE><BR>There is. It's called char. Or perhaps unsigned char, since that ...