Read bytes until the preface is completely consumed