removed Endian convert, using std.bitmanip