Simplify little-endian byte conversions

Use stdlib functions for converting little-endian bytes to single values