MtxVecUtils.WriteBinaryValues Method

Overload List

#SignatureDescription
1void WriteBinaryValues(Byte[] DstStream, Int32 StreamIndex, Double[] Values, Int32 ValuesIndex, TPrecision Precision, TRounding Rounding, TEndianness Endian, Int32 Length)The destination is a pointer to memory, which will hold Length elements stored with Precision.
2void WriteBinaryValues(Byte[] DstStream, Int32 StreamIndex, Single[] Values, Int32 ValuesIndex, TPrecision Precision, TRounding Rounding, TEndianness Endian, Int32 Length)The destination is a pointer to memory, which will hold Length elements stored with Precision.
3void WriteBinaryValues(Stream DstStream, Double[] Values, Int32 ValuesIndex, TPrecision Precision, TRounding Rounding, TEndianness Endian, Int32 Length)Writes double values to stream and converts to specified type.
4void WriteBinaryValues(Stream DstStream, Single[] Values, Int32 ValuesIndex, TPrecision Precision, TRounding Rounding, TEndianness Endian, Int32 Length)Writes single precision values to stream and converts to specified type.
5void WriteBinaryValues(IntPtr DstStream, Double[] Values, Int32 ValuesIndex, TPrecision Precision, TRounding Rounding, TEndianness Endian, Int32 Length)
6void WriteBinaryValues(IntPtr DstStream, Single[] Values, Int32 ValuesIndex, TPrecision Precision, TRounding Rounding, TEndianness Endian, Int32 Length)

Overload 1: void WriteBinaryValues(Byte[] DstStream, Int32 StreamIndex, Double[] Values, Int32 ValuesIndex, TPrecision Precision, TRounding Rounding, TEndianness Endian, Int32 Length)

The destination is a pointer to memory, which will hold Length elements stored with Precision.

#NameTypeDescription
1DstStreamByte[]
2StreamIndexInt32
3ValuesDouble[]
4ValuesIndexInt32
5PrecisionTPrecision
6RoundingTRounding
7EndianTEndianness
8LengthInt32

Result: stored in self (calling object)

Overload 2: void WriteBinaryValues(Byte[] DstStream, Int32 StreamIndex, Single[] Values, Int32 ValuesIndex, TPrecision Precision, TRounding Rounding, TEndianness Endian, Int32 Length)

The destination is a pointer to memory, which will hold Length elements stored with Precision.

#NameTypeDescription
1DstStreamByte[]
2StreamIndexInt32
3ValuesSingle[]
4ValuesIndexInt32
5PrecisionTPrecision
6RoundingTRounding
7EndianTEndianness
8LengthInt32

Result: stored in self (calling object)

Overload 3: void WriteBinaryValues(Stream DstStream, Double[] Values, Int32 ValuesIndex, TPrecision Precision, TRounding Rounding, TEndianness Endian, Int32 Length)

Writes double values to stream and converts to specified type.

#NameTypeDescription
1DstStreamStream
2ValuesDouble[]
3ValuesIndexInt32
4PrecisionTPrecision
5RoundingTRounding
6EndianTEndianness
7LengthInt32

Result: stored in self (calling object)

Remarks:

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.

See Also: MtxVecUtils.ReadBinaryValues

Overload 4: void WriteBinaryValues(Stream DstStream, Single[] Values, Int32 ValuesIndex, TPrecision Precision, TRounding Rounding, TEndianness Endian, Int32 Length)

Writes single precision values to stream and converts to specified type.

#NameTypeDescription
1DstStreamStream
2ValuesSingle[]
3ValuesIndexInt32
4PrecisionTPrecision
5RoundingTRounding
6EndianTEndianness
7LengthInt32

Result: stored in self (calling object)

Remarks:

Writes Tsingle precision 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.

See Also: MtxVecUtils.ReadBinaryValues

Overload 5: void WriteBinaryValues(IntPtr DstStream, Double[] Values, Int32 ValuesIndex, TPrecision Precision, TRounding Rounding, TEndianness Endian, Int32 Length)

#NameTypeDescription
1DstStreamIntPtr
2ValuesDouble[]
3ValuesIndexInt32
4PrecisionTPrecision
5RoundingTRounding
6EndianTEndianness
7LengthInt32

Result: stored in self (calling object)

Overload 6: void WriteBinaryValues(IntPtr DstStream, Single[] Values, Int32 ValuesIndex, TPrecision Precision, TRounding Rounding, TEndianness Endian, Int32 Length)

#NameTypeDescription
1DstStreamIntPtr
2ValuesSingle[]
3ValuesIndexInt32
4PrecisionTPrecision
5RoundingTRounding
6EndianTEndianness
7LengthInt32

Result: stored in self (calling object)