ILNumerics - Technical Application Development
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Array with element type T and given size with a binary copy of the region as read from stream.
Load binary data from stream.
[ILNumerics Computing Engine]
Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
public static RetArray<T> loadBinary<T>( Stream stream, int leadDimLen, int height, int width, int offsetWidth = 0, int offsetHeight = 0, Action<IntPtr, IntPtr, long> convertScanLine = null ) where T : struct, new()
Parameters
- stream
- Type: System.IOStream
Input stream to read from. - leadDimLen
- Type: SystemInt32
Length of the 'leading dimension', how many elements of T fit into one scanline? - height
- Type: SystemInt32
Height of the area to read. - width
- Type: SystemInt32
Widht of the area to read. - offsetWidth (Optional)
- Type: SystemInt32
[Optional] Skip that many columns. Default: 0. - offsetHeight (Optional)
- Type: SystemInt32
[Optional] Skip that many rows. Default: 0. - convertScanLine (Optional)
- Type: SystemActionIntPtr, IntPtr, Int64
[Optional] Function used for copying individual scanlines. Default: null (Buffer.BlockCopy). Parameters: dest*, src*, nrBytes.
Type Parameters
- T
- Element type for the new array.
Return Value
Type: RetArrayTArray with element type T and given size with a binary copy of the region as read from stream.
Remarks
[ILNumerics Computing Engine]
See Also