MtxVecUtils.ReadBinaryValues Method

Overload List

#SignatureDescription
1Int64 ReadBinaryValues(Byte[] SrcStream, Int32 StreamIndex, Double[] Values, Int32 ValuesIndex, TPrecision Precision, TEndianness Endian, Int32 Length)The source is a pointer to memory, which holds Length elements stored with Precision.
2Int64 ReadBinaryValues(Byte[] SrcStream, Int32 StreamIndex, Single[] Values, Int32 ValuesIndex, TPrecision Precision, TEndianness Endian, Int32 Length)The source is a pointer to memory, which holds Length elements stored with Precision.
3Int64 ReadBinaryValues(Stream SrcStream, Double[] Values, Int32 ValuesIndex, TPrecision Precision, TEndianness Endian, Int32 Length)Reads values from stream and converts to double type.
4Int64 ReadBinaryValues(Stream SrcStream, Single[] Values, Int32 ValuesIndex, TPrecision Precision, TEndianness Endian, Int32 Length)Reads values from stream and converts to single precision type.
5Int64 ReadBinaryValues(IntPtr SrcStream, Double[] Values, Int32 ValuesIndex, TPrecision Precision, TEndianness Endian, Int32 Length)
6Int64 ReadBinaryValues(IntPtr SrcStream, Single[] Values, Int32 ValuesIndex, TPrecision Precision, TEndianness Endian, Int32 Length)

Overload 1: Int64 ReadBinaryValues(Byte[] SrcStream, Int32 StreamIndex, Double[] Values, Int32 ValuesIndex, TPrecision Precision, TEndianness Endian, Int32 Length)

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

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

Returns: Int64

Overload 2: Int64 ReadBinaryValues(Byte[] SrcStream, Int32 StreamIndex, Single[] Values, Int32 ValuesIndex, TPrecision Precision, TEndianness Endian, Int32 Length)

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

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

Returns: Int64

Overload 3: Int64 ReadBinaryValues(Stream SrcStream, Double[] Values, Int32 ValuesIndex, TPrecision Precision, TEndianness Endian, Int32 Length)

Reads values from stream and converts to double type.

#NameTypeDescription
1SrcStreamStream
2ValuesDouble[]
3ValuesIndexInt32
4PrecisionTPrecision
5EndianTEndianness
6LengthInt32

Returns: Int64

Remarks:

Reads values from stream and converts to double type. The values will be read from Stream, intepreted as of Precision type, converted to double 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: MtxVecUtils.WriteBinaryValues

Overload 4: Int64 ReadBinaryValues(Stream SrcStream, Single[] Values, Int32 ValuesIndex, TPrecision Precision, TEndianness Endian, Int32 Length)

Reads values from stream and converts to single precision type.

#NameTypeDescription
1SrcStreamStream
2ValuesSingle[]
3ValuesIndexInt32
4PrecisionTPrecision
5EndianTEndianness
6LengthInt32

Returns: Int64

Remarks:

Reads values from stream and converts to single precision type. The values will be read from Stream, intepreted as of Precision type, converted to double precision 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: MtxVecUtils.WriteBinaryValues

Overload 5: Int64 ReadBinaryValues(IntPtr SrcStream, Double[] Values, Int32 ValuesIndex, TPrecision Precision, TEndianness Endian, Int32 Length)

#NameTypeDescription
1SrcStreamIntPtr
2ValuesDouble[]
3ValuesIndexInt32
4PrecisionTPrecision
5EndianTEndianness
6LengthInt32

Returns: Int64

Overload 6: Int64 ReadBinaryValues(IntPtr SrcStream, Single[] Values, Int32 ValuesIndex, TPrecision Precision, TEndianness Endian, Int32 Length)

#NameTypeDescription
1SrcStreamIntPtr
2ValuesSingle[]
3ValuesIndexInt32
4PrecisionTPrecision
5EndianTEndianness
6LengthInt32

Returns: Int64