I've started using TFileStream since posting a query here, but I'd like to know a bit more about it.
Is there somewhere that I can find information on how to use it?
Specifically, if I load a file into an array as follows:
FS:=TFileStream.Create(fname, fmshareDenyWrite);
FS.ReadBuffer(fsbuffer,recsize);can I alter the array and then save the altered array back into the file?
do I just write the entire array back?
fsbuffer[128]:=56;
fsbuffer[132]:=42;
FS.WriteBuffer(fsbuffer,recsize);or is there a better way?
