Skip to content

Only read required field for BOF record#79

Open
hudbrog wants to merge 1 commit intoextrame:masterfrom
hudbrog:master
Open

Only read required field for BOF record#79
hudbrog wants to merge 1 commit intoextrame:masterfrom
hudbrog:master

Conversation

@hudbrog
Copy link

@hudbrog hudbrog commented Mar 30, 2021

There are BIFF8 files that have BOF record with size 8. With current implementation binary.Read fails (silently, cause errors are ignored) because struct is 16 bytes. Although standard does specify BOF to be 16 bytes, I've stumbled upon files like that on numerous occasions.

libxls only reads first 4 bytes as well from BOF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant