Simplify little-endian byte conversions

Use stdlib functions for converting little-endian bytes to single values
Personal preference, but I don't feel strongly about it. I'll change it if you prefer