Re: Binary file
Posted by mnemo on November 10, 2000 at 15:46:48:
In Reply to: Binary file posted by Jan Nyman on September 20, 2000 at 04:51:11:
: I want to open a binary file : and read the file to a buffer and then read from the buffer : byte for byte to the end of buffer Can yuo help me ? Use TFileStream:
Something like this.... fil := TFileStream.Create('megah.bin', fmOpenRead); while fil.Positionbegin fil.ReadBuffer(); //blah blah end;FreeAndNil(fil);
Related Articles and Replies:
|