Properly read the version byte from the byte array