read array of supported matlab data types
| C# | Visual Basic | Visual C++ |
private static void readElementGeneric( BinaryReader br, MatFileType storageType, out Array realData, ref int len, int paddBytes )
Private Shared Sub readElementGeneric ( _ br As BinaryReader, _ storageType As MatFileType, _ <OutAttribute> ByRef realData As Array, _ ByRef len As Integer, _ paddBytes As Integer _ )
private: static void readElementGeneric( BinaryReader^ br, MatFileType storageType, [OutAttribute] Array^% realData, int% len, int paddBytes )
- br (BinaryReader)
- binary reader, opened and correctly positioned
- storageType (MatFileType)
- actual storage type
- realData ( Array %)
- output: on return, the array read
- len ( Int32 %)
- input: number of bytes to read, on return: number of elements in array
- paddBytes (Int32)
- padding border, the stream will be read to the next border of length 'paddBytes'.