Hello, I am reviewing the option of using the library for parsing a series of different Pascal data structure file (DAT). The files are generally structured with fixed length records but also header fields for almost all fields (excluding empty blocks) by specifying the occupied length e.g. in a pseudo representation of the structure: [H1:4][D1:abcd*][H2:7][D2:abcdefg***][D3:****], Hn stands for the header fields and Dn for the actual data fields (D3 is empty zeros block - asterisks for zero bytes). Based on sample max values I am able to find out the reserved lengths so as to ignore the remaining bytes, however is there an implementation path to handle this kind of data structures in the library? Essentially extracting the fields from the record based on the occupied length specified by the header fields and ignoring empty blocks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I am reviewing the option of using the library for parsing a series of different Pascal data structure file (DAT). The files are generally structured with fixed length records but also header fields for almost all fields (excluding empty blocks) by specifying the occupied length e.g. in a pseudo representation of the structure: [H1:4][D1:abcd*][H2:7][D2:abcdefg***][D3:****], Hn stands for the header fields and Dn for the actual data fields (D3 is empty zeros block - asterisks for zero bytes). Based on sample max values I am able to find out the reserved lengths so as to ignore the remaining bytes, however is there an implementation path to handle this kind of data structures in the library? Essentially extracting the fields from the record based on the occupied length specified by the header fields and ignoring empty blocks.