refactor endianness detection (fix #39 2/2)
Authored by: aexaey 2019-10-07
Parent: [r150]
Child: [r152]