|
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
)
<ExtensionAttribute>
Public Shared Function ReadMatrix (
stream As BinaryReader,
type As Type,
ParamArray lengths As Integer()
) As Array
Request Example
View SourceParameters
- stream
- Type: System.IOBinaryReader
- type
- Type: SystemType
- lengths
- Type: SystemInt32
Return Value
Type:
ArrayUsage 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