Click or drag to resize
Accord.NET (logo)

ExtensionMethodsReadMatrix Method (BinaryReader, Type, Int32)

Reads a struct from a stream.

Namespace:  Accord
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public static Array ReadMatrix(
	this BinaryReader stream,
	Type type,
	params int[] lengths
)
Request Example View Source

Parameters

stream
Type: System.IOBinaryReader
type
Type: SystemType
lengths
Type: SystemInt32

Return Value

Type: Array

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BinaryReader. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also