Recognition of Self-Defining Records Log Out | Topics | Search
Moderators | Edit Profile

X-Ways Support Forum » Advanced Features » Recognition of Self-Defining Records « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Bob Carlyle (Carlyle)
Posted on Monday, Aug 4, 2003 - 14:04:   

I have been a WinHex user for many years, and find the product extraordinary! I would like for you to add a wish-list item for the ability to use templates to edit self-defining fields/records, as follows:

In the AFP datastream (which is EBCDIC-based, and therefore record-oriented), each record (or line, if you will), begins with a two-byte length field which indicates the length in bytes of the total record. If WinHex could use this information instead of a CR/LF indicator or fixed length to determine the end of a line/record, then I could write a template to examine and interpret the AFP structured fields within those records.

Very best regards,
Bob
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann (Admin)
Posted on Monday, Aug 4, 2003 - 14:15:   

Does it help to use something like the following?

int16 Length
char[Length] Record
Top of pagePrevious messageNext messageBottom of page Link to this message

Bob Carlyle (Carlyle)
Posted on Wednesday, Aug 6, 2003 - 23:47:   

Thanks... that bit of info put me on the right track!

Add Your Message Here
Post:
Username: Posting Information:
Only registered users may post messages here, i.e. you need to have an account.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:
Forum operated by X-Ways Software Technology AG.