Summary
Writes TSample values to stream and converts to specified type.
Unit
AbstractMtxVec
Declaration
Procedure WriteBinaryValues(Stream: TStream; Values: PPSample; Precision: TPrecision; Rounding: TRounding; Length: integer; Complex: boolean);
Description
Writes TSample values to stream and converts to specified type. The values from Values array will be converted to Precision type, using the Rounding specified and written to the Stream. The length of the Values arrays is defined with the Length and Complex parameters. If Complex is True, the length of the Values array must be two times bigger then the Value of the Length parameter.
Declaration
Procedure WriteBinaryValues(Stream: PAPointer; Values: PPSample; Precision: TPrecision; Rounding: TRounding; Length: integer; Complex: boolean);
Description
The destination is a pointer to memory, which will hold Length elements stored with Precision.
| Copyright 2008 Dew Research |
http://www.dewresearch.com