in reply to header footer
I'd suggest dividing the problem into parts. A: reading of a single record; B: writing the modified record; ...
Most of the difficulty is in the reading part, and we cannot really offer you much advice without learning all the details about the file format. Is the record of arbitrary length? Can a single record span megabytes? Is the record size encoded in the header?
Update: May a record contain "HDR" or "FTR" in its body (as a substring)?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: header footer
by gupr1980 (Acolyte) on Mar 05, 2014 at 00:04 UTC | |
by gupr1980 (Acolyte) on Mar 05, 2014 at 00:21 UTC | |
by gupr1980 (Acolyte) on Mar 05, 2014 at 01:04 UTC | |
by Kenosis (Priest) on Mar 05, 2014 at 01:20 UTC | |
by gupr1980 (Acolyte) on Mar 05, 2014 at 13:22 UTC | |
|
Re^2: header footer
by gupr1980 (Acolyte) on Mar 04, 2014 at 23:08 UTC | |
by gupr1980 (Acolyte) on Mar 04, 2014 at 23:18 UTC | |
by Kenosis (Priest) on Mar 04, 2014 at 23:34 UTC | |
by graff (Chancellor) on Mar 04, 2014 at 23:34 UTC |