Dew MtxVec NET
TMtxVec.LoadFromStream Methods
Summary
Reads the header information and the values array content from a stream.

Class
TMtxVec

Declaration
Function LoadFromStream(SrcStream: TStream): integer;

Description
Reads the header information and the values array content from the SrcStream. The return value indicates the number of elements read.
 See Also 
SaveToStream 
LoadFromFile 

Example 1

var b: TVec; AStream: TFileStream; begin CreateIt(b); try b.SetIt(False,[0,0,1,3,2]); AStream := TFileStream.Create('C:\test.vec',fmCreate); try b.LoadFromStream(AStream); // Read info and header for b finally AStream.Free; end; finally FreeIt(b); end; end;


Declaration
Function LoadFromStream(SrcStream: System.IO.Stream): integer;

Description
Save component to the .NET framework Stream.

Copyright 2008 Dew Research
http://www.dewresearch.com