Midware TMWBuffer.SaveToFile
Revision as of 19:40, 5 May 2011 by Marie (talk | contribs) (Created page with ' Main page -> Midware component reference -> TMWBuffer -> SaveToFile =…')
Main page -> Midware component reference -> TMWBuffer -> SaveToFile
Definition
procedure SaveToFile(FileName:String);
Description
Save TMWBuffer data to a file. File format is simple: first eight bytes are 'MWBUFFER' string, next char is a version number, currently '1', next eight bytes are DataBufferCount expressed in hexadecimal format. Remaining bytes are exact TMWBuffer content copy. Internally, SaveToFile is implemented using SaveToStream with a TFileStream. See also LoadFromFile and LoadFromStream.