Added support for little endian numbers.