Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dbt file structure #2

Open
Xoristzatziki opened this issue Dec 29, 2018 · 0 comments
Open

dbt file structure #2

Xoristzatziki opened this issue Dec 29, 2018 · 0 comments

Comments

@Xoristzatziki
Copy link

Issue is based on information provided in «Memo fields» («Memo file header» structure and «Memo block structure») in http://www.independent-software.com/dbase-dbf-dbt-file-format.html and not by evaluating the code.

I have a memo file that uses the same dBASE IV structure, as reported in https://www.clicketyclick.dk/databases/xbase/format/dbt.html#DBT_STRUCT

That is:

  • file uses LITTLE ENDIAN.
  • bytes from 8 to 15 hold DBF file name without extention. Name ends with zero that may have subsequent irrelevant bytes (in my case is b'ASTEN\x00\x7f\x1e', where ASTEN is the dbf name)
  • bytes 20-21 hold the length of block (as a little endian 16 bits integer).
henck pushed a commit that referenced this issue Oct 22, 2019
Parse float as InvariantCulture
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

No branches or pull requests

1 participant