Record Structures II
Methods for organizing the records of a file include:
- Requiring that the records be a predictable number of bytes in length.
- Requiring that the records be a predictable number of fields in length.
- Beginning each record with a length indicator consisting of a count of the number of bytes that the record contains.
- Using a second file to keep track of the beginning byte address for each record.
- Placing a delimiter at the end of each record to separate it from the next record.