Dew MtxVec NET
ReadBinaryValues Routines
Summary
Reads values from stream and converts to TSample type.

Unit
AbstractMtxVec

Declaration
Function ReadBinaryValues(Stream: TStream; Values: PPSample; Precision: TPrecision; Length: integer; Complex: boolean): integer;

Description
Reads values from stream and converts to TSample type. The values will be read from Stream, intepreted as of Precision type, converted to TSample and stored in the Values array. The routine will read Length samples. The length of the Values array must be set to Length*(byte(Complex)+1).
 See Also 
WriteBinaryValues 

Declaration
Function ReadBinaryValues(Stream: PAPointer; Values: PPSample; Precision: TPrecision; Length: integer; Complex: boolean): integer;

Description
The source is a pointer to memory, which holds Length elements stored with Precision.

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