Skip to main content

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

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

uppercase letters in url - Joomla! Forum - community, help and support

Joomla! Update is not offering Joomla 3 - Joomla! Forum - community, help and support