Midware TMWBuffer.SaveToStream
Jump to navigation
Jump to search
Main page -> Midware component reference -> TMWBuffer -> SaveToStream
Definition
procedure SaveToStream(Stream:TStream);
Description
Save TMWBuffer data to a stream. 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. See also SaveToFile, LoadFromFile and LoadFromStream.