Refactored reading fressian bytes