made ByteOrder an Enum