I'm interested in tracking the offset location where the parser finds any record ending(s) for the buffer I pass in. A natural place to put this logic is in the record-end callback function cb2. However, it doesn't appear that the parser struct contains the required information to determine where the record end was actually found. Any idea whether this data can be accessed or an alternate way of determining record end location?
Thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm interested in tracking the offset location where the parser finds any record ending(s) for the buffer I pass in. A natural place to put this logic is in the record-end callback function cb2. However, it doesn't appear that the parser struct contains the required information to determine where the record end was actually found. Any idea whether this data can be accessed or an alternate way of determining record end location?
Thanks in advance