Thread: [Java] What do programmers do in this case?
hi,
since java has signed numbers (byte, short, int) programmers when have create java binding c api , there's function works "unsigned char" values?
they
1) use "short" , waste memory?
2) use "byte" , hope function never produce values above 128?
3) if other solution - one?
not java programmer unless need store millions of values, use int. if low on memory, check conversion rules, maybe using byte work. whatever do, never assume return value.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [Java] What do programmers do in this case?
Ubuntu
Comments
Post a Comment