static L byteListToIntList_littleEndian(L l) { if (array == null) null; int n = (l(l)+3)/4; ret new RandomAccessAbstractList() { public int size() { ret n; } public Int get(int i) { ret intFromByteList_littleEndian_partial(l, i*4); } public Int set(int i, Int val) { Int old = get(i); if (old != val) intToBytes_inList_littleEndian_partial(l, i, val); ret old; } }; }