Vector.WriteHeader Method

void WriteHeader(Stream Dst, TPrecision Precision, TRounding Rounding)

Writes the header information for the calling vector to a stream.

#NameTypeDescription
1DstStream
2PrecisionTPrecision
3RoundingTRounding

Result: stored in self (calling object)

Remarks:

Writes the header information for the calling object to a DstStream stream. The header information contains information about object (size, complex, type of values in Values array, ...) which all define the state of the object. Number type is defined by the Precision parameter. Rounding defines the rounding for integer types. When saving double precision as single precision, all overflows are saved as INF (-INF). When saving to integer types all overflows are clipped.