Add original readIntLittleEndian function to keep compatible with previous
verision.