static byte byteFromInt_littleEndian(int i, int byteNr) { ret (byte) (i >> (byteNr*8)); }