Why does the Java API use int instead of short or byte?
In java, is it more efficient to use byte or short instead of int and float instead of double?
Java - write the first byte of an int byte/short Vs int as for loop counter variable Number of byte of my int Any reason to use byte/short etc.. in C#? Convert 2 byte (unsigned short) to Java short from binary file CodeConversion from byte to int Converting int to byte in Android Reading short from byte array Convert Byte[] to int Java: from int to short and from float to short Convert short to byte[] in Java Why does assigning short to byte only work when the short is final? Using Java 7 API to read a file byte by byte Java List<String> to Short Why byte and short division results in int in Java? Converting a byte[] to short[] in Java I want to convert short to byte with following approach Odd behavior when Java converts int to byte? point of Byte and Short in Java (I've read the other questions) Writing a function: short GetBits(short data, int p, int n) Adding int to short How to convert byte[] to int in Java In Java does anyone use short or byte? how to convert short array to byte array Java byte to int Convert an int to byte in java How is the write(byte[],int,int) method working? short to byte and byte to short conversion in Android Why does the method with byte parameter calls the method with short, why not int?