Modified readEView function from hexView package by Paul Murrell