[PATCH v2] Add support for reading/writing integers in Little Endian format